@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.umd.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
12
12
|
|
|
13
|
-
var es2018$
|
|
13
|
+
var es2018$c = {};
|
|
14
14
|
|
|
15
15
|
var fetch_browser = {};
|
|
16
16
|
|
|
@@ -81,235 +81,235 @@
|
|
|
81
81
|
__exportStar(blob_browser, exports);
|
|
82
82
|
__exportStar(eventSource_browser, exports);
|
|
83
83
|
|
|
84
|
-
} (es2018$
|
|
84
|
+
} (es2018$c));
|
|
85
85
|
|
|
86
|
-
var es2018$
|
|
86
|
+
var es2018$b = {};
|
|
87
87
|
|
|
88
88
|
var types = {};
|
|
89
89
|
|
|
90
90
|
var request$1 = {};
|
|
91
91
|
|
|
92
|
-
var es2018$
|
|
92
|
+
var es2018$a = {};
|
|
93
93
|
|
|
94
|
-
var array
|
|
94
|
+
var array = {};
|
|
95
95
|
|
|
96
|
-
array
|
|
97
|
-
function isArray
|
|
96
|
+
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
97
|
+
function isArray(val) {
|
|
98
98
|
return Array.isArray(val);
|
|
99
99
|
}
|
|
100
|
-
array
|
|
101
|
-
function isntArray
|
|
102
|
-
return !isArray
|
|
100
|
+
array.isArray = isArray;
|
|
101
|
+
function isntArray(val) {
|
|
102
|
+
return !isArray(val);
|
|
103
103
|
}
|
|
104
|
-
array
|
|
105
|
-
function isEmptyArray
|
|
104
|
+
array.isntArray = isntArray;
|
|
105
|
+
function isEmptyArray(val) {
|
|
106
106
|
return val.length === 0;
|
|
107
107
|
}
|
|
108
|
-
array
|
|
109
|
-
function isntEmptyArray
|
|
108
|
+
array.isEmptyArray = isEmptyArray;
|
|
109
|
+
function isntEmptyArray(val) {
|
|
110
110
|
return val.length !== 0;
|
|
111
111
|
}
|
|
112
|
-
array
|
|
112
|
+
array.isntEmptyArray = isntEmptyArray;
|
|
113
113
|
|
|
114
|
-
var asyncIterable
|
|
114
|
+
var asyncIterable = {};
|
|
115
115
|
|
|
116
|
-
var _null
|
|
116
|
+
var _null = {};
|
|
117
117
|
|
|
118
|
-
_null
|
|
119
|
-
function isNull
|
|
118
|
+
_null.isntNull = _null.isNull = void 0;
|
|
119
|
+
function isNull(val) {
|
|
120
120
|
return val === null;
|
|
121
121
|
}
|
|
122
|
-
_null
|
|
123
|
-
function isntNull
|
|
124
|
-
return !isNull
|
|
122
|
+
_null.isNull = isNull;
|
|
123
|
+
function isntNull(val) {
|
|
124
|
+
return !isNull(val);
|
|
125
125
|
}
|
|
126
|
-
_null
|
|
126
|
+
_null.isntNull = isntNull;
|
|
127
127
|
|
|
128
|
-
var _undefined
|
|
128
|
+
var _undefined = {};
|
|
129
129
|
|
|
130
|
-
_undefined
|
|
131
|
-
function isUndefined
|
|
130
|
+
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
131
|
+
function isUndefined(val) {
|
|
132
132
|
return val === undefined;
|
|
133
133
|
}
|
|
134
|
-
_undefined
|
|
135
|
-
function isntUndefined
|
|
136
|
-
return !isUndefined
|
|
134
|
+
_undefined.isUndefined = isUndefined;
|
|
135
|
+
function isntUndefined(val) {
|
|
136
|
+
return !isUndefined(val);
|
|
137
137
|
}
|
|
138
|
-
_undefined
|
|
138
|
+
_undefined.isntUndefined = isntUndefined;
|
|
139
139
|
|
|
140
|
-
var _function
|
|
140
|
+
var _function = {};
|
|
141
141
|
|
|
142
|
-
_function
|
|
143
|
-
function isFunction
|
|
142
|
+
_function.isntFunction = _function.isFunction = void 0;
|
|
143
|
+
function isFunction(val) {
|
|
144
144
|
return typeof val === 'function';
|
|
145
145
|
}
|
|
146
|
-
_function
|
|
147
|
-
function isntFunction
|
|
148
|
-
return !isFunction
|
|
146
|
+
_function.isFunction = isFunction;
|
|
147
|
+
function isntFunction(val) {
|
|
148
|
+
return !isFunction(val);
|
|
149
149
|
}
|
|
150
|
-
_function
|
|
150
|
+
_function.isntFunction = isntFunction;
|
|
151
151
|
|
|
152
|
-
asyncIterable
|
|
153
|
-
const null_1$
|
|
154
|
-
const undefined_1$
|
|
155
|
-
const function_1$
|
|
156
|
-
function isAsyncIterable
|
|
157
|
-
return (0, null_1$
|
|
158
|
-
&& (0, undefined_1$
|
|
159
|
-
&& (0, function_1$
|
|
152
|
+
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
153
|
+
const null_1$2 = _null;
|
|
154
|
+
const undefined_1$1 = _undefined;
|
|
155
|
+
const function_1$2 = _function;
|
|
156
|
+
function isAsyncIterable(val) {
|
|
157
|
+
return (0, null_1$2.isntNull)(val)
|
|
158
|
+
&& (0, undefined_1$1.isntUndefined)(val)
|
|
159
|
+
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
160
160
|
}
|
|
161
|
-
asyncIterable
|
|
162
|
-
function isntAsyncIterable
|
|
163
|
-
return !isAsyncIterable
|
|
161
|
+
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
162
|
+
function isntAsyncIterable(val) {
|
|
163
|
+
return !isAsyncIterable(val);
|
|
164
164
|
}
|
|
165
|
-
asyncIterable
|
|
165
|
+
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
166
166
|
|
|
167
|
-
var bigint
|
|
167
|
+
var bigint = {};
|
|
168
168
|
|
|
169
|
-
bigint
|
|
170
|
-
function isBigInt
|
|
169
|
+
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
170
|
+
function isBigInt(val) {
|
|
171
171
|
return typeof val === 'bigint';
|
|
172
172
|
}
|
|
173
|
-
bigint
|
|
174
|
-
function isntBigInt
|
|
175
|
-
return !isBigInt
|
|
173
|
+
bigint.isBigInt = isBigInt;
|
|
174
|
+
function isntBigInt(val) {
|
|
175
|
+
return !isBigInt(val);
|
|
176
176
|
}
|
|
177
|
-
bigint
|
|
177
|
+
bigint.isntBigInt = isntBigInt;
|
|
178
178
|
|
|
179
|
-
var boolean
|
|
179
|
+
var boolean = {};
|
|
180
180
|
|
|
181
|
-
boolean
|
|
182
|
-
function isBoolean
|
|
181
|
+
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
182
|
+
function isBoolean(val) {
|
|
183
183
|
return typeof val === 'boolean';
|
|
184
184
|
}
|
|
185
|
-
boolean
|
|
186
|
-
function isntBoolean
|
|
187
|
-
return !isBoolean
|
|
185
|
+
boolean.isBoolean = isBoolean;
|
|
186
|
+
function isntBoolean(val) {
|
|
187
|
+
return !isBoolean(val);
|
|
188
188
|
}
|
|
189
|
-
boolean
|
|
189
|
+
boolean.isntBoolean = isntBoolean;
|
|
190
190
|
|
|
191
|
-
var char
|
|
191
|
+
var char = {};
|
|
192
192
|
|
|
193
|
-
var string
|
|
193
|
+
var string = {};
|
|
194
194
|
|
|
195
|
-
string
|
|
196
|
-
function isString
|
|
195
|
+
string.isntString = string.isString = void 0;
|
|
196
|
+
function isString(val) {
|
|
197
197
|
return typeof val === 'string';
|
|
198
198
|
}
|
|
199
|
-
string
|
|
200
|
-
function isntString
|
|
201
|
-
return !isString
|
|
199
|
+
string.isString = isString;
|
|
200
|
+
function isntString(val) {
|
|
201
|
+
return !isString(val);
|
|
202
202
|
}
|
|
203
|
-
string
|
|
203
|
+
string.isntString = isntString;
|
|
204
204
|
|
|
205
|
-
char
|
|
206
|
-
const string_1$
|
|
207
|
-
function isChar
|
|
208
|
-
return (0, string_1$
|
|
205
|
+
char.isntChar = char.isChar = void 0;
|
|
206
|
+
const string_1$1 = string;
|
|
207
|
+
function isChar(val) {
|
|
208
|
+
return (0, string_1$1.isString)(val)
|
|
209
209
|
&& val.length === 1;
|
|
210
210
|
}
|
|
211
|
-
char
|
|
212
|
-
function isntChar
|
|
213
|
-
return !isChar
|
|
211
|
+
char.isChar = isChar;
|
|
212
|
+
function isntChar(val) {
|
|
213
|
+
return !isChar(val);
|
|
214
214
|
}
|
|
215
|
-
char
|
|
215
|
+
char.isntChar = isntChar;
|
|
216
216
|
|
|
217
|
-
var date
|
|
217
|
+
var date = {};
|
|
218
218
|
|
|
219
|
-
date
|
|
220
|
-
function isDate
|
|
219
|
+
date.isntDate = date.isDate = void 0;
|
|
220
|
+
function isDate(val) {
|
|
221
221
|
return val instanceof Date;
|
|
222
222
|
}
|
|
223
|
-
date
|
|
224
|
-
function isntDate
|
|
225
|
-
return !isDate
|
|
223
|
+
date.isDate = isDate;
|
|
224
|
+
function isntDate(val) {
|
|
225
|
+
return !isDate(val);
|
|
226
226
|
}
|
|
227
|
-
date
|
|
227
|
+
date.isntDate = isntDate;
|
|
228
228
|
|
|
229
|
-
var _enum$
|
|
229
|
+
var _enum$1 = {};
|
|
230
230
|
|
|
231
|
-
_enum$
|
|
232
|
-
function inEnum
|
|
231
|
+
_enum$1.inEnum = void 0;
|
|
232
|
+
function inEnum(val, _enum) {
|
|
233
233
|
return Object.values(_enum).includes(val);
|
|
234
234
|
}
|
|
235
|
-
_enum$
|
|
235
|
+
_enum$1.inEnum = inEnum;
|
|
236
236
|
|
|
237
|
-
var error
|
|
237
|
+
var error = {};
|
|
238
238
|
|
|
239
|
-
error
|
|
240
|
-
function isError
|
|
239
|
+
error.isntError = error.isError = void 0;
|
|
240
|
+
function isError(val) {
|
|
241
241
|
return val instanceof Error;
|
|
242
242
|
}
|
|
243
|
-
error
|
|
244
|
-
function isntError
|
|
245
|
-
return !isError
|
|
243
|
+
error.isError = isError;
|
|
244
|
+
function isntError(val) {
|
|
245
|
+
return !isError(val);
|
|
246
246
|
}
|
|
247
|
-
error
|
|
247
|
+
error.isntError = isntError;
|
|
248
248
|
|
|
249
|
-
var falsy
|
|
249
|
+
var falsy = {};
|
|
250
250
|
|
|
251
|
-
falsy
|
|
252
|
-
function isFalsy
|
|
251
|
+
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
252
|
+
function isFalsy(val) {
|
|
253
253
|
return !val;
|
|
254
254
|
}
|
|
255
|
-
falsy
|
|
256
|
-
function isntFalsy
|
|
257
|
-
return !isFalsy
|
|
255
|
+
falsy.isFalsy = isFalsy;
|
|
256
|
+
function isntFalsy(val) {
|
|
257
|
+
return !isFalsy(val);
|
|
258
258
|
}
|
|
259
|
-
falsy
|
|
259
|
+
falsy.isntFalsy = isntFalsy;
|
|
260
260
|
|
|
261
|
-
var iterable
|
|
261
|
+
var iterable = {};
|
|
262
262
|
|
|
263
|
-
iterable
|
|
264
|
-
const null_1$
|
|
265
|
-
const undefined_1
|
|
266
|
-
const function_1$
|
|
267
|
-
function isIterable
|
|
268
|
-
return (0, null_1$
|
|
269
|
-
&& (0, undefined_1
|
|
270
|
-
&& (0, function_1$
|
|
263
|
+
iterable.isntIterable = iterable.isIterable = void 0;
|
|
264
|
+
const null_1$1 = _null;
|
|
265
|
+
const undefined_1 = _undefined;
|
|
266
|
+
const function_1$1 = _function;
|
|
267
|
+
function isIterable(val) {
|
|
268
|
+
return (0, null_1$1.isntNull)(val)
|
|
269
|
+
&& (0, undefined_1.isntUndefined)(val)
|
|
270
|
+
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
271
271
|
}
|
|
272
|
-
iterable
|
|
273
|
-
function isntIterable
|
|
274
|
-
return !isIterable
|
|
272
|
+
iterable.isIterable = isIterable;
|
|
273
|
+
function isntIterable(val) {
|
|
274
|
+
return !isIterable(val);
|
|
275
275
|
}
|
|
276
|
-
iterable
|
|
276
|
+
iterable.isntIterable = isntIterable;
|
|
277
277
|
|
|
278
|
-
var json$
|
|
278
|
+
var json$2 = {};
|
|
279
279
|
|
|
280
|
-
var number
|
|
280
|
+
var number = {};
|
|
281
281
|
|
|
282
|
-
number
|
|
283
|
-
function isNumber
|
|
282
|
+
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
283
|
+
function isNumber(val) {
|
|
284
284
|
return typeof val === 'number';
|
|
285
285
|
}
|
|
286
|
-
number
|
|
287
|
-
function isntNumber
|
|
288
|
-
return !isNumber
|
|
286
|
+
number.isNumber = isNumber;
|
|
287
|
+
function isntNumber(val) {
|
|
288
|
+
return !isNumber(val);
|
|
289
289
|
}
|
|
290
|
-
number
|
|
291
|
-
function isFinite
|
|
290
|
+
number.isntNumber = isntNumber;
|
|
291
|
+
function isFinite(val) {
|
|
292
292
|
return Number.isFinite(val);
|
|
293
293
|
}
|
|
294
|
-
number
|
|
295
|
-
function isPositiveInfinity
|
|
294
|
+
number.isFinite = isFinite;
|
|
295
|
+
function isPositiveInfinity(val) {
|
|
296
296
|
return val === Infinity;
|
|
297
297
|
}
|
|
298
|
-
number
|
|
299
|
-
function isNegativeInfinity
|
|
298
|
+
number.isPositiveInfinity = isPositiveInfinity;
|
|
299
|
+
function isNegativeInfinity(val) {
|
|
300
300
|
return val === -Infinity;
|
|
301
301
|
}
|
|
302
|
-
number
|
|
303
|
-
function isNaN
|
|
302
|
+
number.isNegativeInfinity = isNegativeInfinity;
|
|
303
|
+
function isNaN(val) {
|
|
304
304
|
return Number.isNaN(val);
|
|
305
305
|
}
|
|
306
|
-
number
|
|
307
|
-
function isntNaN
|
|
308
|
-
return !isNaN
|
|
306
|
+
number.isNaN = isNaN;
|
|
307
|
+
function isntNaN(val) {
|
|
308
|
+
return !isNaN(val);
|
|
309
309
|
}
|
|
310
|
-
number
|
|
310
|
+
number.isntNaN = isntNaN;
|
|
311
311
|
|
|
312
|
-
var object
|
|
312
|
+
var object = {};
|
|
313
313
|
|
|
314
314
|
/** Detect free variable `global` from Node.js. */
|
|
315
315
|
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
* _.isPlainObject(Object.create(null));
|
|
538
538
|
* // => true
|
|
539
539
|
*/
|
|
540
|
-
function isPlainObject$
|
|
540
|
+
function isPlainObject$1(value) {
|
|
541
541
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
542
542
|
return false;
|
|
543
543
|
}
|
|
@@ -550,59 +550,59 @@
|
|
|
550
550
|
funcToString.call(Ctor) == objectCtorString;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
var isPlainObject_1$
|
|
553
|
+
var isPlainObject_1$1 = isPlainObject$1;
|
|
554
554
|
|
|
555
|
-
var __importDefault$
|
|
555
|
+
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
556
556
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
557
|
-
};object
|
|
558
|
-
const isPlainObject_1
|
|
559
|
-
function isObject
|
|
557
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
558
|
+
const isPlainObject_1 = __importDefault$1(isPlainObject_1$1);
|
|
559
|
+
function isObject(val) {
|
|
560
560
|
return val !== null
|
|
561
561
|
&& typeof val === 'object';
|
|
562
562
|
}
|
|
563
|
-
object
|
|
564
|
-
function isntObject
|
|
565
|
-
return !isObject
|
|
563
|
+
object.isObject = isObject;
|
|
564
|
+
function isntObject(val) {
|
|
565
|
+
return !isObject(val);
|
|
566
566
|
}
|
|
567
|
-
object
|
|
568
|
-
function isPlainObject
|
|
569
|
-
return (0, isPlainObject_1
|
|
567
|
+
object.isntObject = isntObject;
|
|
568
|
+
function isPlainObject(val) {
|
|
569
|
+
return (0, isPlainObject_1.default)(val);
|
|
570
570
|
}
|
|
571
|
-
object
|
|
572
|
-
function isntPlainObject
|
|
573
|
-
return !isPlainObject
|
|
571
|
+
object.isPlainObject = isPlainObject;
|
|
572
|
+
function isntPlainObject(val) {
|
|
573
|
+
return !isPlainObject(val);
|
|
574
574
|
}
|
|
575
|
-
object
|
|
576
|
-
function isEmptyObject
|
|
575
|
+
object.isntPlainObject = isntPlainObject;
|
|
576
|
+
function isEmptyObject(val) {
|
|
577
577
|
return Object.keys(val).length === 0;
|
|
578
578
|
}
|
|
579
|
-
object
|
|
580
|
-
function isntEmptyObject
|
|
579
|
+
object.isEmptyObject = isEmptyObject;
|
|
580
|
+
function isntEmptyObject(val) {
|
|
581
581
|
return Object.keys(val).length !== 0;
|
|
582
582
|
}
|
|
583
|
-
object
|
|
584
|
-
|
|
585
|
-
json$
|
|
586
|
-
const null_1
|
|
587
|
-
const boolean_1
|
|
588
|
-
const string_1
|
|
589
|
-
const number_1
|
|
590
|
-
const array_1
|
|
591
|
-
const object_1$
|
|
592
|
-
function isJson
|
|
593
|
-
return (0, null_1
|
|
594
|
-
|| (0, boolean_1
|
|
595
|
-
|| (0, string_1
|
|
596
|
-
|| (0, number_1
|
|
597
|
-
|| ((0, array_1
|
|
598
|
-
|| ((0, object_1$
|
|
599
|
-
}
|
|
600
|
-
json$
|
|
601
|
-
function isntJson
|
|
602
|
-
return !isJson
|
|
603
|
-
}
|
|
604
|
-
json$
|
|
605
|
-
function isJsonable
|
|
583
|
+
object.isntEmptyObject = isntEmptyObject;
|
|
584
|
+
|
|
585
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
586
|
+
const null_1 = _null;
|
|
587
|
+
const boolean_1 = boolean;
|
|
588
|
+
const string_1 = string;
|
|
589
|
+
const number_1 = number;
|
|
590
|
+
const array_1 = array;
|
|
591
|
+
const object_1$1 = object;
|
|
592
|
+
function isJson(val) {
|
|
593
|
+
return (0, null_1.isNull)(val)
|
|
594
|
+
|| (0, boolean_1.isBoolean)(val)
|
|
595
|
+
|| (0, string_1.isString)(val)
|
|
596
|
+
|| (0, number_1.isNumber)(val)
|
|
597
|
+
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
598
|
+
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
599
|
+
}
|
|
600
|
+
json$2.isJson = isJson;
|
|
601
|
+
function isntJson(val) {
|
|
602
|
+
return !isJson(val);
|
|
603
|
+
}
|
|
604
|
+
json$2.isntJson = isntJson;
|
|
605
|
+
function isJsonable(val) {
|
|
606
606
|
try {
|
|
607
607
|
JSON.stringify(val);
|
|
608
608
|
return true;
|
|
@@ -611,39 +611,39 @@
|
|
|
611
611
|
return false;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
json$
|
|
615
|
-
function isntJsonable
|
|
616
|
-
return !isntJsonable
|
|
614
|
+
json$2.isJsonable = isJsonable;
|
|
615
|
+
function isntJsonable(val) {
|
|
616
|
+
return !isntJsonable();
|
|
617
617
|
}
|
|
618
|
-
json$
|
|
618
|
+
json$2.isntJsonable = isntJsonable;
|
|
619
619
|
|
|
620
|
-
var promise
|
|
620
|
+
var promise = {};
|
|
621
621
|
|
|
622
|
-
promise
|
|
623
|
-
const object_1
|
|
624
|
-
const function_1
|
|
625
|
-
function isPromise
|
|
622
|
+
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
623
|
+
const object_1 = object;
|
|
624
|
+
const function_1 = _function;
|
|
625
|
+
function isPromise(val) {
|
|
626
626
|
return val instanceof Promise;
|
|
627
627
|
}
|
|
628
|
-
promise
|
|
629
|
-
function isntPromise
|
|
630
|
-
return !isPromise
|
|
628
|
+
promise.isPromise = isPromise;
|
|
629
|
+
function isntPromise(val) {
|
|
630
|
+
return !isPromise(val);
|
|
631
631
|
}
|
|
632
|
-
promise
|
|
633
|
-
function isntPromiseLike
|
|
634
|
-
return !isPromiseLike
|
|
632
|
+
promise.isntPromise = isntPromise;
|
|
633
|
+
function isntPromiseLike(val) {
|
|
634
|
+
return !isPromiseLike(val);
|
|
635
635
|
}
|
|
636
|
-
promise
|
|
637
|
-
function isPromiseLike
|
|
638
|
-
return (0, object_1
|
|
639
|
-
&& (0, function_1
|
|
636
|
+
promise.isntPromiseLike = isntPromiseLike;
|
|
637
|
+
function isPromiseLike(val) {
|
|
638
|
+
return (0, object_1.isObject)(val)
|
|
639
|
+
&& (0, function_1.isFunction)(val.then);
|
|
640
640
|
}
|
|
641
|
-
promise
|
|
641
|
+
promise.isPromiseLike = isPromiseLike;
|
|
642
642
|
|
|
643
|
-
var url$
|
|
643
|
+
var url$2 = {};
|
|
644
644
|
|
|
645
|
-
url$
|
|
646
|
-
function isAbsoluteURL
|
|
645
|
+
url$2.isAbsoluteURL = void 0;
|
|
646
|
+
function isAbsoluteURL(str) {
|
|
647
647
|
try {
|
|
648
648
|
new URL(str);
|
|
649
649
|
return true;
|
|
@@ -652,31 +652,31 @@
|
|
|
652
652
|
return false;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
url$
|
|
655
|
+
url$2.isAbsoluteURL = isAbsoluteURL;
|
|
656
656
|
|
|
657
|
-
var regexp
|
|
657
|
+
var regexp = {};
|
|
658
658
|
|
|
659
|
-
regexp
|
|
660
|
-
function isRegExp
|
|
659
|
+
regexp.isntRegExp = regexp.isRegExp = void 0;
|
|
660
|
+
function isRegExp(val) {
|
|
661
661
|
return val instanceof RegExp;
|
|
662
662
|
}
|
|
663
|
-
regexp
|
|
664
|
-
function isntRegExp
|
|
665
|
-
return !isRegExp
|
|
663
|
+
regexp.isRegExp = isRegExp;
|
|
664
|
+
function isntRegExp(val) {
|
|
665
|
+
return !isRegExp(val);
|
|
666
666
|
}
|
|
667
|
-
regexp
|
|
667
|
+
regexp.isntRegExp = isntRegExp;
|
|
668
668
|
|
|
669
|
-
var symbol
|
|
669
|
+
var symbol = {};
|
|
670
670
|
|
|
671
|
-
symbol
|
|
672
|
-
function isSymbol
|
|
671
|
+
symbol.isntSymbol = symbol.isSymbol = void 0;
|
|
672
|
+
function isSymbol(val) {
|
|
673
673
|
return typeof val === 'symbol';
|
|
674
674
|
}
|
|
675
|
-
symbol
|
|
676
|
-
function isntSymbol
|
|
677
|
-
return !isSymbol
|
|
675
|
+
symbol.isSymbol = isSymbol;
|
|
676
|
+
function isntSymbol(val) {
|
|
677
|
+
return !isSymbol(val);
|
|
678
678
|
}
|
|
679
|
-
symbol
|
|
679
|
+
symbol.isntSymbol = isntSymbol;
|
|
680
680
|
|
|
681
681
|
(function (exports) {
|
|
682
682
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -692,33 +692,33 @@
|
|
|
692
692
|
}));
|
|
693
693
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
694
694
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
695
|
-
};__exportStar(array
|
|
696
|
-
__exportStar(asyncIterable
|
|
697
|
-
__exportStar(bigint
|
|
698
|
-
__exportStar(boolean
|
|
699
|
-
__exportStar(char
|
|
700
|
-
__exportStar(date
|
|
701
|
-
__exportStar(_enum$
|
|
702
|
-
__exportStar(error
|
|
703
|
-
__exportStar(falsy
|
|
704
|
-
__exportStar(_function
|
|
705
|
-
__exportStar(iterable
|
|
706
|
-
__exportStar(json$
|
|
707
|
-
__exportStar(_null
|
|
708
|
-
__exportStar(number
|
|
709
|
-
__exportStar(object
|
|
710
|
-
__exportStar(promise
|
|
711
|
-
__exportStar(string
|
|
712
|
-
__exportStar(_undefined
|
|
713
|
-
__exportStar(url$
|
|
714
|
-
__exportStar(regexp
|
|
715
|
-
__exportStar(symbol
|
|
695
|
+
};__exportStar(array, exports);
|
|
696
|
+
__exportStar(asyncIterable, exports);
|
|
697
|
+
__exportStar(bigint, exports);
|
|
698
|
+
__exportStar(boolean, exports);
|
|
699
|
+
__exportStar(char, exports);
|
|
700
|
+
__exportStar(date, exports);
|
|
701
|
+
__exportStar(_enum$1, exports);
|
|
702
|
+
__exportStar(error, exports);
|
|
703
|
+
__exportStar(falsy, exports);
|
|
704
|
+
__exportStar(_function, exports);
|
|
705
|
+
__exportStar(iterable, exports);
|
|
706
|
+
__exportStar(json$2, exports);
|
|
707
|
+
__exportStar(_null, exports);
|
|
708
|
+
__exportStar(number, exports);
|
|
709
|
+
__exportStar(object, exports);
|
|
710
|
+
__exportStar(promise, exports);
|
|
711
|
+
__exportStar(string, exports);
|
|
712
|
+
__exportStar(_undefined, exports);
|
|
713
|
+
__exportStar(url$2, exports);
|
|
714
|
+
__exportStar(regexp, exports);
|
|
715
|
+
__exportStar(symbol, exports);
|
|
716
716
|
|
|
717
|
-
} (es2018$
|
|
717
|
+
} (es2018$a));
|
|
718
718
|
|
|
719
719
|
request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
|
|
720
|
-
const extra_fetch_1$7 = es2018$
|
|
721
|
-
const types_1$m = es2018$
|
|
720
|
+
const extra_fetch_1$7 = es2018$c;
|
|
721
|
+
const types_1$m = es2018$a;
|
|
722
722
|
function get(...transformers) {
|
|
723
723
|
return request('GET', ...transformers);
|
|
724
724
|
}
|
|
@@ -775,14 +775,14 @@
|
|
|
775
775
|
};__exportStar(types, exports);
|
|
776
776
|
__exportStar(request$1, exports);
|
|
777
777
|
|
|
778
|
-
} (es2018$
|
|
778
|
+
} (es2018$b));
|
|
779
779
|
|
|
780
780
|
var transformers = {};
|
|
781
781
|
|
|
782
|
-
var url$
|
|
782
|
+
var url$1 = {};
|
|
783
783
|
|
|
784
|
-
url$
|
|
785
|
-
function url
|
|
784
|
+
url$1.url = void 0;
|
|
785
|
+
function url(...urls) {
|
|
786
786
|
return (options) => {
|
|
787
787
|
const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
|
|
788
788
|
return {
|
|
@@ -791,12 +791,12 @@
|
|
|
791
791
|
};
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
url$
|
|
794
|
+
url$1.url = url;
|
|
795
795
|
|
|
796
796
|
var text$1 = {};
|
|
797
797
|
|
|
798
798
|
text$1.text = void 0;
|
|
799
|
-
const extra_fetch_1$6 = es2018$
|
|
799
|
+
const extra_fetch_1$6 = es2018$c;
|
|
800
800
|
function text(payload) {
|
|
801
801
|
return (options) => {
|
|
802
802
|
const headers = new extra_fetch_1$6.Headers(options.headers);
|
|
@@ -810,11 +810,11 @@
|
|
|
810
810
|
}
|
|
811
811
|
text$1.text = text;
|
|
812
812
|
|
|
813
|
-
var json$
|
|
813
|
+
var json$1 = {};
|
|
814
814
|
|
|
815
|
-
json$
|
|
816
|
-
const extra_fetch_1$5 = es2018$
|
|
817
|
-
function json
|
|
815
|
+
json$1.json = void 0;
|
|
816
|
+
const extra_fetch_1$5 = es2018$c;
|
|
817
|
+
function json(payload) {
|
|
818
818
|
return (options) => {
|
|
819
819
|
const headers = new extra_fetch_1$5.Headers(options.headers);
|
|
820
820
|
headers.set('Content-Type', 'application/json');
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
};
|
|
826
826
|
};
|
|
827
827
|
}
|
|
828
|
-
json$
|
|
828
|
+
json$1.json = json;
|
|
829
829
|
|
|
830
830
|
var csv$1 = {};
|
|
831
831
|
|
|
@@ -2700,17 +2700,17 @@
|
|
|
2700
2700
|
}));
|
|
2701
2701
|
} (papaparse));
|
|
2702
2702
|
|
|
2703
|
-
var es2018$
|
|
2703
|
+
var es2018$9 = {};
|
|
2704
2704
|
|
|
2705
2705
|
var customError$1 = {};
|
|
2706
2706
|
|
|
2707
|
-
var es2018$
|
|
2707
|
+
var es2018$8 = {};
|
|
2708
2708
|
|
|
2709
2709
|
var middleware = {};
|
|
2710
2710
|
|
|
2711
2711
|
var chunkAsync = {};
|
|
2712
2712
|
|
|
2713
|
-
var es2018$
|
|
2713
|
+
var es2018$7 = {};
|
|
2714
2714
|
|
|
2715
2715
|
var go$1 = {};
|
|
2716
2716
|
|
|
@@ -2739,11 +2739,11 @@
|
|
|
2739
2739
|
|
|
2740
2740
|
var goMacrotask$1 = {};
|
|
2741
2741
|
|
|
2742
|
-
var es2018$
|
|
2742
|
+
var es2018$6 = {};
|
|
2743
2743
|
|
|
2744
2744
|
var exponentialBackoff = {};
|
|
2745
2745
|
|
|
2746
|
-
var es2018$
|
|
2746
|
+
var es2018$5 = {};
|
|
2747
2747
|
|
|
2748
2748
|
var random$1 = {};
|
|
2749
2749
|
|
|
@@ -2755,572 +2755,173 @@
|
|
|
2755
2755
|
|
|
2756
2756
|
var randomInt$1 = {};
|
|
2757
2757
|
|
|
2758
|
-
randomInt$1.randomInt = void 0;
|
|
2759
|
-
function randomInt(min, max) {
|
|
2760
|
-
min = Math.ceil(min);
|
|
2761
|
-
max = Math.floor(max);
|
|
2762
|
-
return Math.floor(Math.random() * (max - min)) + min;
|
|
2763
|
-
}
|
|
2764
|
-
randomInt$1.randomInt = randomInt;
|
|
2765
|
-
|
|
2766
|
-
var randomIntInclusive$1 = {};
|
|
2767
|
-
|
|
2768
|
-
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2769
|
-
function randomIntInclusive(min, max) {
|
|
2770
|
-
min = Math.ceil(min);
|
|
2771
|
-
max = Math.floor(max);
|
|
2772
|
-
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
2773
|
-
}
|
|
2774
|
-
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2775
|
-
|
|
2776
|
-
(function (exports) {
|
|
2777
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2778
|
-
if (k2 === undefined) k2 = k;
|
|
2779
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2780
|
-
}) : (function(o, m, k, k2) {
|
|
2781
|
-
if (k2 === undefined) k2 = k;
|
|
2782
|
-
o[k2] = m[k];
|
|
2783
|
-
}));
|
|
2784
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2785
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2786
|
-
};__exportStar(random$1, exports);
|
|
2787
|
-
__exportStar(randomInt$1, exports);
|
|
2788
|
-
__exportStar(randomIntInclusive$1, exports);
|
|
2789
|
-
|
|
2790
|
-
} (es2018$6));
|
|
2791
|
-
|
|
2792
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2793
|
-
const extra_rand_1 = es2018$6;
|
|
2794
|
-
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2795
|
-
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2796
|
-
if (jitter) {
|
|
2797
|
-
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
2798
|
-
}
|
|
2799
|
-
else {
|
|
2800
|
-
return timeout;
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
2804
|
-
|
|
2805
|
-
var setTimeout$2 = {};
|
|
2806
|
-
|
|
2807
|
-
setTimeout$2.setTimeout = void 0;
|
|
2808
|
-
function setTimeout$1(timeout, cb) {
|
|
2809
|
-
const timer = globalThis.setTimeout(cb, timeout);
|
|
2810
|
-
return () => clearTimeout(timer);
|
|
2811
|
-
}
|
|
2812
|
-
setTimeout$2.setTimeout = setTimeout$1;
|
|
2813
|
-
|
|
2814
|
-
var setSchedule$1 = {};
|
|
2815
|
-
|
|
2816
|
-
setSchedule$1.setSchedule = void 0;
|
|
2817
|
-
const set_timeout_1$3 = setTimeout$2;
|
|
2818
|
-
function setSchedule(timestamp, cb) {
|
|
2819
|
-
const timeout = timestamp - Date.now();
|
|
2820
|
-
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
2821
|
-
}
|
|
2822
|
-
setSchedule$1.setSchedule = setSchedule;
|
|
2823
|
-
|
|
2824
|
-
var setInterval$1 = {};
|
|
2825
|
-
|
|
2826
|
-
setInterval$1.setInterval = void 0;
|
|
2827
|
-
function setInterval(timeout, cb) {
|
|
2828
|
-
const timer = globalThis.setInterval(cb, timeout);
|
|
2829
|
-
return () => clearInterval(timer);
|
|
2830
|
-
}
|
|
2831
|
-
setInterval$1.setInterval = setInterval;
|
|
2832
|
-
|
|
2833
|
-
var setImmediate$1 = {};
|
|
2834
|
-
|
|
2835
|
-
setImmediate$1.setImmediate = void 0;
|
|
2836
|
-
const set_timeout_1$2 = setTimeout$2;
|
|
2837
|
-
function setImmediate(cb) {
|
|
2838
|
-
if (globalThis.setImmediate) {
|
|
2839
|
-
const timer = globalThis.setImmediate(cb);
|
|
2840
|
-
return () => clearImmediate(timer);
|
|
2841
|
-
}
|
|
2842
|
-
else {
|
|
2843
|
-
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
2844
|
-
}
|
|
2845
|
-
}
|
|
2846
|
-
setImmediate$1.setImmediate = setImmediate;
|
|
2847
|
-
|
|
2848
|
-
var setTimeoutLoop$1 = {};
|
|
2849
|
-
|
|
2850
|
-
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2851
|
-
const set_timeout_1$1 = setTimeout$2;
|
|
2852
|
-
function setTimeoutLoop(timeout, cb) {
|
|
2853
|
-
let isCancelled = false;
|
|
2854
|
-
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2855
|
-
return () => {
|
|
2856
|
-
isCancelled = true;
|
|
2857
|
-
cancel();
|
|
2858
|
-
};
|
|
2859
|
-
async function loop() {
|
|
2860
|
-
await cb();
|
|
2861
|
-
if (!isCancelled) {
|
|
2862
|
-
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2863
|
-
}
|
|
2864
|
-
}
|
|
2865
|
-
}
|
|
2866
|
-
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
2867
|
-
|
|
2868
|
-
var setDynamicTimeoutLoop$1 = {};
|
|
2869
|
-
|
|
2870
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2871
|
-
const set_timeout_1 = setTimeout$2;
|
|
2872
|
-
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2873
|
-
let isCancelled = false;
|
|
2874
|
-
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2875
|
-
return () => {
|
|
2876
|
-
isCancelled = true;
|
|
2877
|
-
cancel();
|
|
2878
|
-
};
|
|
2879
|
-
async function loop() {
|
|
2880
|
-
const start = Date.now();
|
|
2881
|
-
await cb();
|
|
2882
|
-
const elapsed = Date.now() - start;
|
|
2883
|
-
if (!isCancelled) {
|
|
2884
|
-
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2885
|
-
}
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2889
|
-
|
|
2890
|
-
(function (exports) {
|
|
2891
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2892
|
-
if (k2 === undefined) k2 = k;
|
|
2893
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2894
|
-
}) : (function(o, m, k, k2) {
|
|
2895
|
-
if (k2 === undefined) k2 = k;
|
|
2896
|
-
o[k2] = m[k];
|
|
2897
|
-
}));
|
|
2898
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2899
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2900
|
-
};__exportStar(exponentialBackoff, exports);
|
|
2901
|
-
__exportStar(setTimeout$2, exports);
|
|
2902
|
-
__exportStar(setSchedule$1, exports);
|
|
2903
|
-
__exportStar(setInterval$1, exports);
|
|
2904
|
-
__exportStar(setImmediate$1, exports);
|
|
2905
|
-
__exportStar(setTimeoutLoop$1, exports);
|
|
2906
|
-
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2907
|
-
|
|
2908
|
-
} (es2018$7));
|
|
2909
|
-
|
|
2910
|
-
goMacrotask$1.goMacrotask = void 0;
|
|
2911
|
-
const extra_timers_1 = es2018$7;
|
|
2912
|
-
function goMacrotask(fn) {
|
|
2913
|
-
return new Promise((resolve, reject) => {
|
|
2914
|
-
(0, extra_timers_1.setImmediate)(async () => {
|
|
2915
|
-
try {
|
|
2916
|
-
resolve(await fn());
|
|
2917
|
-
}
|
|
2918
|
-
catch (e) {
|
|
2919
|
-
reject(e);
|
|
2920
|
-
}
|
|
2921
|
-
});
|
|
2922
|
-
});
|
|
2923
|
-
}
|
|
2924
|
-
goMacrotask$1.goMacrotask = goMacrotask;
|
|
2925
|
-
|
|
2926
|
-
(function (exports) {
|
|
2927
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2928
|
-
if (k2 === undefined) k2 = k;
|
|
2929
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2930
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2931
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2932
|
-
}
|
|
2933
|
-
Object.defineProperty(o, k2, desc);
|
|
2934
|
-
}) : (function(o, m, k, k2) {
|
|
2935
|
-
if (k2 === undefined) k2 = k;
|
|
2936
|
-
o[k2] = m[k];
|
|
2937
|
-
}));
|
|
2938
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2939
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2940
|
-
};__exportStar(go$1, exports);
|
|
2941
|
-
__exportStar(goMicrotask$1, exports);
|
|
2942
|
-
__exportStar(goMacrotask$1, exports);
|
|
2943
|
-
|
|
2944
|
-
} (es2018$8));
|
|
2945
|
-
|
|
2946
|
-
var hasRequiredChunkAsync;
|
|
2947
|
-
|
|
2948
|
-
function requireChunkAsync () {
|
|
2949
|
-
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2950
|
-
hasRequiredChunkAsync = 1;
|
|
2951
|
-
chunkAsync.chunkAsync = void 0;
|
|
2952
|
-
const go_1 = es2018$8;
|
|
2953
|
-
const errors_1 = requireEs2018();
|
|
2954
|
-
function chunkAsync$1(iterable, size) {
|
|
2955
|
-
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2956
|
-
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2957
|
-
return (0, go_1.go)(async function* () {
|
|
2958
|
-
let buffer = [];
|
|
2959
|
-
for await (const element of iterable) {
|
|
2960
|
-
buffer.push(element);
|
|
2961
|
-
if (buffer.length >= size) {
|
|
2962
|
-
yield buffer;
|
|
2963
|
-
buffer = [];
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
if (buffer.length)
|
|
2967
|
-
yield buffer;
|
|
2968
|
-
});
|
|
2969
|
-
}
|
|
2970
|
-
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2971
|
-
|
|
2972
|
-
return chunkAsync;
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
|
-
var chunkByAsync$1 = {};
|
|
2976
|
-
|
|
2977
|
-
var es2018$5 = {};
|
|
2978
|
-
|
|
2979
|
-
var array = {};
|
|
2980
|
-
|
|
2981
|
-
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
2982
|
-
function isArray(val) {
|
|
2983
|
-
return Array.isArray(val);
|
|
2984
|
-
}
|
|
2985
|
-
array.isArray = isArray;
|
|
2986
|
-
function isntArray(val) {
|
|
2987
|
-
return !isArray(val);
|
|
2988
|
-
}
|
|
2989
|
-
array.isntArray = isntArray;
|
|
2990
|
-
function isEmptyArray(val) {
|
|
2991
|
-
return val.length === 0;
|
|
2992
|
-
}
|
|
2993
|
-
array.isEmptyArray = isEmptyArray;
|
|
2994
|
-
function isntEmptyArray(val) {
|
|
2995
|
-
return val.length !== 0;
|
|
2996
|
-
}
|
|
2997
|
-
array.isntEmptyArray = isntEmptyArray;
|
|
2998
|
-
|
|
2999
|
-
var asyncIterable = {};
|
|
3000
|
-
|
|
3001
|
-
var _null = {};
|
|
3002
|
-
|
|
3003
|
-
_null.isntNull = _null.isNull = void 0;
|
|
3004
|
-
function isNull(val) {
|
|
3005
|
-
return val === null;
|
|
3006
|
-
}
|
|
3007
|
-
_null.isNull = isNull;
|
|
3008
|
-
function isntNull(val) {
|
|
3009
|
-
return !isNull(val);
|
|
3010
|
-
}
|
|
3011
|
-
_null.isntNull = isntNull;
|
|
3012
|
-
|
|
3013
|
-
var _undefined = {};
|
|
3014
|
-
|
|
3015
|
-
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
3016
|
-
function isUndefined(val) {
|
|
3017
|
-
return val === undefined;
|
|
3018
|
-
}
|
|
3019
|
-
_undefined.isUndefined = isUndefined;
|
|
3020
|
-
function isntUndefined(val) {
|
|
3021
|
-
return !isUndefined(val);
|
|
3022
|
-
}
|
|
3023
|
-
_undefined.isntUndefined = isntUndefined;
|
|
3024
|
-
|
|
3025
|
-
var _function = {};
|
|
3026
|
-
|
|
3027
|
-
_function.isntFunction = _function.isFunction = void 0;
|
|
3028
|
-
function isFunction(val) {
|
|
3029
|
-
return typeof val === 'function';
|
|
3030
|
-
}
|
|
3031
|
-
_function.isFunction = isFunction;
|
|
3032
|
-
function isntFunction(val) {
|
|
3033
|
-
return !isFunction(val);
|
|
3034
|
-
}
|
|
3035
|
-
_function.isntFunction = isntFunction;
|
|
3036
|
-
|
|
3037
|
-
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
3038
|
-
const null_1$2 = _null;
|
|
3039
|
-
const undefined_1$1 = _undefined;
|
|
3040
|
-
const function_1$2 = _function;
|
|
3041
|
-
function isAsyncIterable(val) {
|
|
3042
|
-
return (0, null_1$2.isntNull)(val)
|
|
3043
|
-
&& (0, undefined_1$1.isntUndefined)(val)
|
|
3044
|
-
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
3045
|
-
}
|
|
3046
|
-
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
3047
|
-
function isntAsyncIterable(val) {
|
|
3048
|
-
return !isAsyncIterable(val);
|
|
3049
|
-
}
|
|
3050
|
-
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
3051
|
-
|
|
3052
|
-
var bigint = {};
|
|
3053
|
-
|
|
3054
|
-
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
3055
|
-
function isBigInt(val) {
|
|
3056
|
-
return typeof val === 'bigint';
|
|
3057
|
-
}
|
|
3058
|
-
bigint.isBigInt = isBigInt;
|
|
3059
|
-
function isntBigInt(val) {
|
|
3060
|
-
return !isBigInt(val);
|
|
3061
|
-
}
|
|
3062
|
-
bigint.isntBigInt = isntBigInt;
|
|
3063
|
-
|
|
3064
|
-
var boolean = {};
|
|
3065
|
-
|
|
3066
|
-
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
3067
|
-
function isBoolean(val) {
|
|
3068
|
-
return typeof val === 'boolean';
|
|
3069
|
-
}
|
|
3070
|
-
boolean.isBoolean = isBoolean;
|
|
3071
|
-
function isntBoolean(val) {
|
|
3072
|
-
return !isBoolean(val);
|
|
3073
|
-
}
|
|
3074
|
-
boolean.isntBoolean = isntBoolean;
|
|
3075
|
-
|
|
3076
|
-
var char = {};
|
|
3077
|
-
|
|
3078
|
-
var string = {};
|
|
3079
|
-
|
|
3080
|
-
string.isntString = string.isString = void 0;
|
|
3081
|
-
function isString(val) {
|
|
3082
|
-
return typeof val === 'string';
|
|
3083
|
-
}
|
|
3084
|
-
string.isString = isString;
|
|
3085
|
-
function isntString(val) {
|
|
3086
|
-
return !isString(val);
|
|
3087
|
-
}
|
|
3088
|
-
string.isntString = isntString;
|
|
3089
|
-
|
|
3090
|
-
char.isntChar = char.isChar = void 0;
|
|
3091
|
-
const string_1$1 = string;
|
|
3092
|
-
function isChar(val) {
|
|
3093
|
-
return (0, string_1$1.isString)(val)
|
|
3094
|
-
&& val.length === 1;
|
|
3095
|
-
}
|
|
3096
|
-
char.isChar = isChar;
|
|
3097
|
-
function isntChar(val) {
|
|
3098
|
-
return !isChar(val);
|
|
3099
|
-
}
|
|
3100
|
-
char.isntChar = isntChar;
|
|
3101
|
-
|
|
3102
|
-
var date = {};
|
|
3103
|
-
|
|
3104
|
-
date.isntDate = date.isDate = void 0;
|
|
3105
|
-
function isDate(val) {
|
|
3106
|
-
return val instanceof Date;
|
|
3107
|
-
}
|
|
3108
|
-
date.isDate = isDate;
|
|
3109
|
-
function isntDate(val) {
|
|
3110
|
-
return !isDate(val);
|
|
3111
|
-
}
|
|
3112
|
-
date.isntDate = isntDate;
|
|
3113
|
-
|
|
3114
|
-
var _enum$1 = {};
|
|
3115
|
-
|
|
3116
|
-
_enum$1.inEnum = void 0;
|
|
3117
|
-
function inEnum(val, _enum) {
|
|
3118
|
-
return Object.values(_enum).includes(val);
|
|
3119
|
-
}
|
|
3120
|
-
_enum$1.inEnum = inEnum;
|
|
3121
|
-
|
|
3122
|
-
var error = {};
|
|
3123
|
-
|
|
3124
|
-
error.isntError = error.isError = void 0;
|
|
3125
|
-
function isError(val) {
|
|
3126
|
-
return val instanceof Error;
|
|
3127
|
-
}
|
|
3128
|
-
error.isError = isError;
|
|
3129
|
-
function isntError(val) {
|
|
3130
|
-
return !isError(val);
|
|
3131
|
-
}
|
|
3132
|
-
error.isntError = isntError;
|
|
3133
|
-
|
|
3134
|
-
var falsy = {};
|
|
3135
|
-
|
|
3136
|
-
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
3137
|
-
function isFalsy(val) {
|
|
3138
|
-
return !val;
|
|
3139
|
-
}
|
|
3140
|
-
falsy.isFalsy = isFalsy;
|
|
3141
|
-
function isntFalsy(val) {
|
|
3142
|
-
return !isFalsy(val);
|
|
3143
|
-
}
|
|
3144
|
-
falsy.isntFalsy = isntFalsy;
|
|
3145
|
-
|
|
3146
|
-
var iterable = {};
|
|
3147
|
-
|
|
3148
|
-
iterable.isntIterable = iterable.isIterable = void 0;
|
|
3149
|
-
const null_1$1 = _null;
|
|
3150
|
-
const undefined_1 = _undefined;
|
|
3151
|
-
const function_1$1 = _function;
|
|
3152
|
-
function isIterable(val) {
|
|
3153
|
-
return (0, null_1$1.isntNull)(val)
|
|
3154
|
-
&& (0, undefined_1.isntUndefined)(val)
|
|
3155
|
-
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
3156
|
-
}
|
|
3157
|
-
iterable.isIterable = isIterable;
|
|
3158
|
-
function isntIterable(val) {
|
|
3159
|
-
return !isIterable(val);
|
|
3160
|
-
}
|
|
3161
|
-
iterable.isntIterable = isntIterable;
|
|
3162
|
-
|
|
3163
|
-
var json = {};
|
|
3164
|
-
|
|
3165
|
-
var number = {};
|
|
3166
|
-
|
|
3167
|
-
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
3168
|
-
function isNumber(val) {
|
|
3169
|
-
return typeof val === 'number';
|
|
3170
|
-
}
|
|
3171
|
-
number.isNumber = isNumber;
|
|
3172
|
-
function isntNumber(val) {
|
|
3173
|
-
return !isNumber(val);
|
|
3174
|
-
}
|
|
3175
|
-
number.isntNumber = isntNumber;
|
|
3176
|
-
function isFinite(val) {
|
|
3177
|
-
return Number.isFinite(val);
|
|
3178
|
-
}
|
|
3179
|
-
number.isFinite = isFinite;
|
|
3180
|
-
function isPositiveInfinity(val) {
|
|
3181
|
-
return val === Infinity;
|
|
3182
|
-
}
|
|
3183
|
-
number.isPositiveInfinity = isPositiveInfinity;
|
|
3184
|
-
function isNegativeInfinity(val) {
|
|
3185
|
-
return val === -Infinity;
|
|
3186
|
-
}
|
|
3187
|
-
number.isNegativeInfinity = isNegativeInfinity;
|
|
3188
|
-
function isNaN(val) {
|
|
3189
|
-
return Number.isNaN(val);
|
|
3190
|
-
}
|
|
3191
|
-
number.isNaN = isNaN;
|
|
3192
|
-
function isntNaN(val) {
|
|
3193
|
-
return !isNaN(val);
|
|
3194
|
-
}
|
|
3195
|
-
number.isntNaN = isntNaN;
|
|
3196
|
-
|
|
3197
|
-
var object = {};
|
|
3198
|
-
|
|
3199
|
-
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3200
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3201
|
-
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
3202
|
-
const isPlainObject_1 = __importDefault$1(isPlainObject_1$2);
|
|
3203
|
-
function isObject(val) {
|
|
3204
|
-
return val !== null
|
|
3205
|
-
&& typeof val === 'object';
|
|
3206
|
-
}
|
|
3207
|
-
object.isObject = isObject;
|
|
3208
|
-
function isntObject(val) {
|
|
3209
|
-
return !isObject(val);
|
|
3210
|
-
}
|
|
3211
|
-
object.isntObject = isntObject;
|
|
3212
|
-
function isPlainObject(val) {
|
|
3213
|
-
return (0, isPlainObject_1.default)(val);
|
|
3214
|
-
}
|
|
3215
|
-
object.isPlainObject = isPlainObject;
|
|
3216
|
-
function isntPlainObject(val) {
|
|
3217
|
-
return !isPlainObject(val);
|
|
3218
|
-
}
|
|
3219
|
-
object.isntPlainObject = isntPlainObject;
|
|
3220
|
-
function isEmptyObject(val) {
|
|
3221
|
-
return Object.keys(val).length === 0;
|
|
3222
|
-
}
|
|
3223
|
-
object.isEmptyObject = isEmptyObject;
|
|
3224
|
-
function isntEmptyObject(val) {
|
|
3225
|
-
return Object.keys(val).length !== 0;
|
|
3226
|
-
}
|
|
3227
|
-
object.isntEmptyObject = isntEmptyObject;
|
|
3228
|
-
|
|
3229
|
-
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
3230
|
-
const null_1 = _null;
|
|
3231
|
-
const boolean_1 = boolean;
|
|
3232
|
-
const string_1 = string;
|
|
3233
|
-
const number_1 = number;
|
|
3234
|
-
const array_1 = array;
|
|
3235
|
-
const object_1$1 = object;
|
|
3236
|
-
function isJson(val) {
|
|
3237
|
-
return (0, null_1.isNull)(val)
|
|
3238
|
-
|| (0, boolean_1.isBoolean)(val)
|
|
3239
|
-
|| (0, string_1.isString)(val)
|
|
3240
|
-
|| (0, number_1.isNumber)(val)
|
|
3241
|
-
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
3242
|
-
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
2758
|
+
randomInt$1.randomInt = void 0;
|
|
2759
|
+
function randomInt(min, max) {
|
|
2760
|
+
min = Math.ceil(min);
|
|
2761
|
+
max = Math.floor(max);
|
|
2762
|
+
return Math.floor(Math.random() * (max - min)) + min;
|
|
3243
2763
|
}
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
2764
|
+
randomInt$1.randomInt = randomInt;
|
|
2765
|
+
|
|
2766
|
+
var randomIntInclusive$1 = {};
|
|
2767
|
+
|
|
2768
|
+
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2769
|
+
function randomIntInclusive(min, max) {
|
|
2770
|
+
min = Math.ceil(min);
|
|
2771
|
+
max = Math.floor(max);
|
|
2772
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
3247
2773
|
}
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
2774
|
+
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2775
|
+
|
|
2776
|
+
(function (exports) {
|
|
2777
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2778
|
+
if (k2 === undefined) k2 = k;
|
|
2779
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2780
|
+
}) : (function(o, m, k, k2) {
|
|
2781
|
+
if (k2 === undefined) k2 = k;
|
|
2782
|
+
o[k2] = m[k];
|
|
2783
|
+
}));
|
|
2784
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2785
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2786
|
+
};__exportStar(random$1, exports);
|
|
2787
|
+
__exportStar(randomInt$1, exports);
|
|
2788
|
+
__exportStar(randomIntInclusive$1, exports);
|
|
2789
|
+
|
|
2790
|
+
} (es2018$5));
|
|
2791
|
+
|
|
2792
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2793
|
+
const extra_rand_1 = es2018$5;
|
|
2794
|
+
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2795
|
+
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2796
|
+
if (jitter) {
|
|
2797
|
+
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
3253
2798
|
}
|
|
3254
|
-
|
|
3255
|
-
return
|
|
2799
|
+
else {
|
|
2800
|
+
return timeout;
|
|
3256
2801
|
}
|
|
3257
2802
|
}
|
|
3258
|
-
|
|
3259
|
-
function isntJsonable(val) {
|
|
3260
|
-
return !isntJsonable();
|
|
3261
|
-
}
|
|
3262
|
-
json.isntJsonable = isntJsonable;
|
|
2803
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
3263
2804
|
|
|
3264
|
-
var
|
|
2805
|
+
var setTimeout$2 = {};
|
|
3265
2806
|
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
return val instanceof Promise;
|
|
3271
|
-
}
|
|
3272
|
-
promise.isPromise = isPromise;
|
|
3273
|
-
function isntPromise(val) {
|
|
3274
|
-
return !isPromise(val);
|
|
2807
|
+
setTimeout$2.setTimeout = void 0;
|
|
2808
|
+
function setTimeout$1(timeout, cb) {
|
|
2809
|
+
const timer = globalThis.setTimeout(cb, timeout);
|
|
2810
|
+
return () => clearTimeout(timer);
|
|
3275
2811
|
}
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
2812
|
+
setTimeout$2.setTimeout = setTimeout$1;
|
|
2813
|
+
|
|
2814
|
+
var setSchedule$1 = {};
|
|
2815
|
+
|
|
2816
|
+
setSchedule$1.setSchedule = void 0;
|
|
2817
|
+
const set_timeout_1$3 = setTimeout$2;
|
|
2818
|
+
function setSchedule(timestamp, cb) {
|
|
2819
|
+
const timeout = timestamp - Date.now();
|
|
2820
|
+
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
3279
2821
|
}
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
2822
|
+
setSchedule$1.setSchedule = setSchedule;
|
|
2823
|
+
|
|
2824
|
+
var setInterval$1 = {};
|
|
2825
|
+
|
|
2826
|
+
setInterval$1.setInterval = void 0;
|
|
2827
|
+
function setInterval(timeout, cb) {
|
|
2828
|
+
const timer = globalThis.setInterval(cb, timeout);
|
|
2829
|
+
return () => clearInterval(timer);
|
|
3284
2830
|
}
|
|
3285
|
-
|
|
2831
|
+
setInterval$1.setInterval = setInterval;
|
|
3286
2832
|
|
|
3287
|
-
var
|
|
2833
|
+
var setImmediate$1 = {};
|
|
3288
2834
|
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
2835
|
+
setImmediate$1.setImmediate = void 0;
|
|
2836
|
+
const set_timeout_1$2 = setTimeout$2;
|
|
2837
|
+
function setImmediate(cb) {
|
|
2838
|
+
if (globalThis.setImmediate) {
|
|
2839
|
+
const timer = globalThis.setImmediate(cb);
|
|
2840
|
+
return () => clearImmediate(timer);
|
|
3294
2841
|
}
|
|
3295
|
-
|
|
3296
|
-
return
|
|
2842
|
+
else {
|
|
2843
|
+
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
3297
2844
|
}
|
|
3298
2845
|
}
|
|
3299
|
-
|
|
2846
|
+
setImmediate$1.setImmediate = setImmediate;
|
|
3300
2847
|
|
|
3301
|
-
var
|
|
2848
|
+
var setTimeoutLoop$1 = {};
|
|
3302
2849
|
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
2850
|
+
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2851
|
+
const set_timeout_1$1 = setTimeout$2;
|
|
2852
|
+
function setTimeoutLoop(timeout, cb) {
|
|
2853
|
+
let isCancelled = false;
|
|
2854
|
+
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2855
|
+
return () => {
|
|
2856
|
+
isCancelled = true;
|
|
2857
|
+
cancel();
|
|
2858
|
+
};
|
|
2859
|
+
async function loop() {
|
|
2860
|
+
await cb();
|
|
2861
|
+
if (!isCancelled) {
|
|
2862
|
+
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
3310
2865
|
}
|
|
3311
|
-
|
|
2866
|
+
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
3312
2867
|
|
|
3313
|
-
var
|
|
2868
|
+
var setDynamicTimeoutLoop$1 = {};
|
|
3314
2869
|
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
2870
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2871
|
+
const set_timeout_1 = setTimeout$2;
|
|
2872
|
+
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2873
|
+
let isCancelled = false;
|
|
2874
|
+
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2875
|
+
return () => {
|
|
2876
|
+
isCancelled = true;
|
|
2877
|
+
cancel();
|
|
2878
|
+
};
|
|
2879
|
+
async function loop() {
|
|
2880
|
+
const start = Date.now();
|
|
2881
|
+
await cb();
|
|
2882
|
+
const elapsed = Date.now() - start;
|
|
2883
|
+
if (!isCancelled) {
|
|
2884
|
+
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
3318
2887
|
}
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
2888
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2889
|
+
|
|
2890
|
+
(function (exports) {
|
|
2891
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2892
|
+
if (k2 === undefined) k2 = k;
|
|
2893
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2894
|
+
}) : (function(o, m, k, k2) {
|
|
2895
|
+
if (k2 === undefined) k2 = k;
|
|
2896
|
+
o[k2] = m[k];
|
|
2897
|
+
}));
|
|
2898
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2899
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2900
|
+
};__exportStar(exponentialBackoff, exports);
|
|
2901
|
+
__exportStar(setTimeout$2, exports);
|
|
2902
|
+
__exportStar(setSchedule$1, exports);
|
|
2903
|
+
__exportStar(setInterval$1, exports);
|
|
2904
|
+
__exportStar(setImmediate$1, exports);
|
|
2905
|
+
__exportStar(setTimeoutLoop$1, exports);
|
|
2906
|
+
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2907
|
+
|
|
2908
|
+
} (es2018$6));
|
|
2909
|
+
|
|
2910
|
+
goMacrotask$1.goMacrotask = void 0;
|
|
2911
|
+
const extra_timers_1 = es2018$6;
|
|
2912
|
+
function goMacrotask(fn) {
|
|
2913
|
+
return new Promise((resolve, reject) => {
|
|
2914
|
+
(0, extra_timers_1.setImmediate)(async () => {
|
|
2915
|
+
try {
|
|
2916
|
+
resolve(await fn());
|
|
2917
|
+
}
|
|
2918
|
+
catch (e) {
|
|
2919
|
+
reject(e);
|
|
2920
|
+
}
|
|
2921
|
+
});
|
|
2922
|
+
});
|
|
3322
2923
|
}
|
|
3323
|
-
|
|
2924
|
+
goMacrotask$1.goMacrotask = goMacrotask;
|
|
3324
2925
|
|
|
3325
2926
|
(function (exports) {
|
|
3326
2927
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3336,32 +2937,45 @@
|
|
|
3336
2937
|
}));
|
|
3337
2938
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3338
2939
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3339
|
-
};__exportStar(
|
|
3340
|
-
__exportStar(
|
|
3341
|
-
__exportStar(
|
|
3342
|
-
__exportStar(boolean, exports);
|
|
3343
|
-
__exportStar(char, exports);
|
|
3344
|
-
__exportStar(date, exports);
|
|
3345
|
-
__exportStar(_enum$1, exports);
|
|
3346
|
-
__exportStar(error, exports);
|
|
3347
|
-
__exportStar(falsy, exports);
|
|
3348
|
-
__exportStar(_function, exports);
|
|
3349
|
-
__exportStar(iterable, exports);
|
|
3350
|
-
__exportStar(json, exports);
|
|
3351
|
-
__exportStar(_null, exports);
|
|
3352
|
-
__exportStar(number, exports);
|
|
3353
|
-
__exportStar(object, exports);
|
|
3354
|
-
__exportStar(promise, exports);
|
|
3355
|
-
__exportStar(string, exports);
|
|
3356
|
-
__exportStar(_undefined, exports);
|
|
3357
|
-
__exportStar(url, exports);
|
|
3358
|
-
__exportStar(regexp, exports);
|
|
3359
|
-
__exportStar(symbol, exports);
|
|
2940
|
+
};__exportStar(go$1, exports);
|
|
2941
|
+
__exportStar(goMicrotask$1, exports);
|
|
2942
|
+
__exportStar(goMacrotask$1, exports);
|
|
3360
2943
|
|
|
3361
|
-
} (es2018$
|
|
2944
|
+
} (es2018$7));
|
|
2945
|
+
|
|
2946
|
+
var hasRequiredChunkAsync;
|
|
2947
|
+
|
|
2948
|
+
function requireChunkAsync () {
|
|
2949
|
+
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2950
|
+
hasRequiredChunkAsync = 1;
|
|
2951
|
+
chunkAsync.chunkAsync = void 0;
|
|
2952
|
+
const go_1 = es2018$7;
|
|
2953
|
+
const errors_1 = requireEs2018();
|
|
2954
|
+
function chunkAsync$1(iterable, size) {
|
|
2955
|
+
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2956
|
+
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2957
|
+
return (0, go_1.go)(async function* () {
|
|
2958
|
+
let buffer = [];
|
|
2959
|
+
for await (const element of iterable) {
|
|
2960
|
+
buffer.push(element);
|
|
2961
|
+
if (buffer.length >= size) {
|
|
2962
|
+
yield buffer;
|
|
2963
|
+
buffer = [];
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
if (buffer.length)
|
|
2967
|
+
yield buffer;
|
|
2968
|
+
});
|
|
2969
|
+
}
|
|
2970
|
+
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2971
|
+
|
|
2972
|
+
return chunkAsync;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
var chunkByAsync$1 = {};
|
|
3362
2976
|
|
|
3363
2977
|
chunkByAsync$1.chunkByAsync = void 0;
|
|
3364
|
-
const types_1$l = es2018$
|
|
2978
|
+
const types_1$l = es2018$a;
|
|
3365
2979
|
function chunkByAsync(iterable, predicate) {
|
|
3366
2980
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
3367
2981
|
return chunkByAsyncIterable(iterable, predicate);
|
|
@@ -3427,7 +3041,7 @@
|
|
|
3427
3041
|
if (hasRequiredChunk) return chunk;
|
|
3428
3042
|
hasRequiredChunk = 1;
|
|
3429
3043
|
chunk.chunk = void 0;
|
|
3430
|
-
const go_1 = es2018$
|
|
3044
|
+
const go_1 = es2018$7;
|
|
3431
3045
|
const errors_1 = requireEs2018();
|
|
3432
3046
|
function chunk$1(iterable, size) {
|
|
3433
3047
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3453,8 +3067,8 @@
|
|
|
3453
3067
|
var concatAsync$1 = {};
|
|
3454
3068
|
|
|
3455
3069
|
concatAsync$1.concatAsync = void 0;
|
|
3456
|
-
const types_1$k = es2018$
|
|
3457
|
-
const go_1$1 = es2018$
|
|
3070
|
+
const types_1$k = es2018$a;
|
|
3071
|
+
const go_1$1 = es2018$7;
|
|
3458
3072
|
function concatAsync(iterable, ...otherIterables) {
|
|
3459
3073
|
return (0, go_1$1.go)(async function* () {
|
|
3460
3074
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3476,7 +3090,7 @@
|
|
|
3476
3090
|
var concat$1 = {};
|
|
3477
3091
|
|
|
3478
3092
|
concat$1.concat = void 0;
|
|
3479
|
-
const go_1 = es2018$
|
|
3093
|
+
const go_1 = es2018$7;
|
|
3480
3094
|
function concat(iterable, ...otherIterables) {
|
|
3481
3095
|
return (0, go_1.go)(function* () {
|
|
3482
3096
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3510,7 +3124,7 @@
|
|
|
3510
3124
|
if (hasRequiredDropAsync) return dropAsync;
|
|
3511
3125
|
hasRequiredDropAsync = 1;
|
|
3512
3126
|
dropAsync.dropAsync = void 0;
|
|
3513
|
-
const go_1 = es2018$
|
|
3127
|
+
const go_1 = es2018$7;
|
|
3514
3128
|
const utils_1 = utils$1;
|
|
3515
3129
|
const errors_1 = requireEs2018();
|
|
3516
3130
|
function dropAsync$1(iterable, count) {
|
|
@@ -3553,7 +3167,7 @@
|
|
|
3553
3167
|
if (hasRequiredDropRightAsync) return dropRightAsync;
|
|
3554
3168
|
hasRequiredDropRightAsync = 1;
|
|
3555
3169
|
dropRightAsync.dropRightAsync = void 0;
|
|
3556
|
-
const go_1 = es2018$
|
|
3170
|
+
const go_1 = es2018$7;
|
|
3557
3171
|
const utils_1 = utils$1;
|
|
3558
3172
|
const errors_1 = requireEs2018();
|
|
3559
3173
|
function dropRightAsync$1(iterable, count) {
|
|
@@ -3589,7 +3203,7 @@
|
|
|
3589
3203
|
if (hasRequiredDropRight) return dropRight;
|
|
3590
3204
|
hasRequiredDropRight = 1;
|
|
3591
3205
|
dropRight.dropRight = void 0;
|
|
3592
|
-
const go_1 = es2018$
|
|
3206
|
+
const go_1 = es2018$7;
|
|
3593
3207
|
const utils_1 = utils$1;
|
|
3594
3208
|
const errors_1 = requireEs2018();
|
|
3595
3209
|
function dropRight$1(iterable, count) {
|
|
@@ -3610,7 +3224,7 @@
|
|
|
3610
3224
|
var dropUntilAsync$1 = {};
|
|
3611
3225
|
|
|
3612
3226
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
3613
|
-
const types_1$j = es2018$
|
|
3227
|
+
const types_1$j = es2018$a;
|
|
3614
3228
|
function dropUntilAsync(iterable, predicate) {
|
|
3615
3229
|
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3616
3230
|
return dropUntilAsyncIterable(iterable, predicate);
|
|
@@ -3697,7 +3311,7 @@
|
|
|
3697
3311
|
if (hasRequiredDrop) return drop;
|
|
3698
3312
|
hasRequiredDrop = 1;
|
|
3699
3313
|
drop.drop = void 0;
|
|
3700
|
-
const go_1 = es2018$
|
|
3314
|
+
const go_1 = es2018$7;
|
|
3701
3315
|
const utils_1 = utils$1;
|
|
3702
3316
|
const errors_1 = requireEs2018();
|
|
3703
3317
|
function drop$1(iterable, count) {
|
|
@@ -3735,7 +3349,7 @@
|
|
|
3735
3349
|
var filterAsync$1 = {};
|
|
3736
3350
|
|
|
3737
3351
|
filterAsync$1.filterAsync = void 0;
|
|
3738
|
-
const types_1$i = es2018$
|
|
3352
|
+
const types_1$i = es2018$a;
|
|
3739
3353
|
function filterAsync(iterable, predicate) {
|
|
3740
3354
|
if ((0, types_1$i.isAsyncIterable)(iterable)) {
|
|
3741
3355
|
return filterAsyncIterable(iterable, predicate);
|
|
@@ -3782,7 +3396,7 @@
|
|
|
3782
3396
|
var flattenByAsync$1 = {};
|
|
3783
3397
|
|
|
3784
3398
|
flattenByAsync$1.flattenByAsync = void 0;
|
|
3785
|
-
const types_1$h = es2018$
|
|
3399
|
+
const types_1$h = es2018$a;
|
|
3786
3400
|
function flattenByAsync(iterable, predicate) {
|
|
3787
3401
|
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
3788
3402
|
return flattenByAsyncIterable(iterable, predicate);
|
|
@@ -3856,7 +3470,7 @@
|
|
|
3856
3470
|
var flattenBy$1 = {};
|
|
3857
3471
|
|
|
3858
3472
|
flattenBy$1.flattenBy = void 0;
|
|
3859
|
-
const types_1$g = es2018$
|
|
3473
|
+
const types_1$g = es2018$a;
|
|
3860
3474
|
function flattenBy(iterable, predicate) {
|
|
3861
3475
|
return flatten$1(iterable, predicate, 1);
|
|
3862
3476
|
}
|
|
@@ -3915,7 +3529,7 @@
|
|
|
3915
3529
|
var mapAsync$1 = {};
|
|
3916
3530
|
|
|
3917
3531
|
mapAsync$1.mapAsync = void 0;
|
|
3918
|
-
const types_1$f = es2018$
|
|
3532
|
+
const types_1$f = es2018$a;
|
|
3919
3533
|
function mapAsync(iterable, fn) {
|
|
3920
3534
|
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
3921
3535
|
return mapAsyncIterable(iterable, fn);
|
|
@@ -3960,7 +3574,7 @@
|
|
|
3960
3574
|
if (hasRequiredRepeatAsync) return repeatAsync;
|
|
3961
3575
|
hasRequiredRepeatAsync = 1;
|
|
3962
3576
|
repeatAsync.repeatAsync = void 0;
|
|
3963
|
-
const go_1 = es2018$
|
|
3577
|
+
const go_1 = es2018$7;
|
|
3964
3578
|
const errors_1 = requireEs2018();
|
|
3965
3579
|
function repeatAsync$1(iterable, times) {
|
|
3966
3580
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4003,7 +3617,7 @@
|
|
|
4003
3617
|
if (hasRequiredRepeat) return repeat;
|
|
4004
3618
|
hasRequiredRepeat = 1;
|
|
4005
3619
|
repeat.repeat = void 0;
|
|
4006
|
-
const go_1 = es2018$
|
|
3620
|
+
const go_1 = es2018$7;
|
|
4007
3621
|
const errors_1 = requireEs2018();
|
|
4008
3622
|
function repeat$1(iterable, times) {
|
|
4009
3623
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4046,7 +3660,7 @@
|
|
|
4046
3660
|
if (hasRequiredSliceAsync) return sliceAsync;
|
|
4047
3661
|
hasRequiredSliceAsync = 1;
|
|
4048
3662
|
sliceAsync.sliceAsync = void 0;
|
|
4049
|
-
const go_1 = es2018$
|
|
3663
|
+
const go_1 = es2018$7;
|
|
4050
3664
|
const errors_1 = requireEs2018();
|
|
4051
3665
|
function sliceAsync$1(iterable, start, end = Infinity) {
|
|
4052
3666
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4077,7 +3691,7 @@
|
|
|
4077
3691
|
if (hasRequiredSlice) return slice;
|
|
4078
3692
|
hasRequiredSlice = 1;
|
|
4079
3693
|
slice.slice = void 0;
|
|
4080
|
-
const go_1 = es2018$
|
|
3694
|
+
const go_1 = es2018$7;
|
|
4081
3695
|
const errors_1 = requireEs2018();
|
|
4082
3696
|
function slice$1(iterable, start, end = Infinity) {
|
|
4083
3697
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4121,7 +3735,7 @@
|
|
|
4121
3735
|
var splitByAsync$1 = {};
|
|
4122
3736
|
|
|
4123
3737
|
splitByAsync$1.splitByAsync = void 0;
|
|
4124
|
-
const types_1$e = es2018$
|
|
3738
|
+
const types_1$e = es2018$a;
|
|
4125
3739
|
function splitByAsync(iterable, predicate) {
|
|
4126
3740
|
if ((0, types_1$e.isAsyncIterable)(iterable)) {
|
|
4127
3741
|
return splitByAsyncIterable(iterable, predicate);
|
|
@@ -4208,7 +3822,7 @@
|
|
|
4208
3822
|
if (hasRequiredTakeAsync) return takeAsync;
|
|
4209
3823
|
hasRequiredTakeAsync = 1;
|
|
4210
3824
|
takeAsync.takeAsync = void 0;
|
|
4211
|
-
const go_1 = es2018$
|
|
3825
|
+
const go_1 = es2018$7;
|
|
4212
3826
|
const errors_1 = requireEs2018();
|
|
4213
3827
|
function takeAsync$1(iterable, count) {
|
|
4214
3828
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4237,7 +3851,7 @@
|
|
|
4237
3851
|
if (hasRequiredTakeRightAsync) return takeRightAsync;
|
|
4238
3852
|
hasRequiredTakeRightAsync = 1;
|
|
4239
3853
|
takeRightAsync.takeRightAsync = void 0;
|
|
4240
|
-
const go_1 = es2018$
|
|
3854
|
+
const go_1 = es2018$7;
|
|
4241
3855
|
const errors_1 = requireEs2018();
|
|
4242
3856
|
function takeRightAsync$1(iterable, count) {
|
|
4243
3857
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4275,7 +3889,7 @@
|
|
|
4275
3889
|
if (hasRequiredTakeRight) return takeRight;
|
|
4276
3890
|
hasRequiredTakeRight = 1;
|
|
4277
3891
|
takeRight.takeRight = void 0;
|
|
4278
|
-
const go_1 = es2018$
|
|
3892
|
+
const go_1 = es2018$7;
|
|
4279
3893
|
const errors_1 = requireEs2018();
|
|
4280
3894
|
function takeRight$1(iterable, count) {
|
|
4281
3895
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4308,7 +3922,7 @@
|
|
|
4308
3922
|
var takeUntilAsync$1 = {};
|
|
4309
3923
|
|
|
4310
3924
|
takeUntilAsync$1.takeUntilAsync = void 0;
|
|
4311
|
-
const types_1$d = es2018$
|
|
3925
|
+
const types_1$d = es2018$a;
|
|
4312
3926
|
function takeUntilAsync(iterable, predicate) {
|
|
4313
3927
|
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
4314
3928
|
return takeUntilAsyncIterable(iterable, predicate);
|
|
@@ -4359,7 +3973,7 @@
|
|
|
4359
3973
|
if (hasRequiredTake) return take;
|
|
4360
3974
|
hasRequiredTake = 1;
|
|
4361
3975
|
take.take = void 0;
|
|
4362
|
-
const go_1 = es2018$
|
|
3976
|
+
const go_1 = es2018$7;
|
|
4363
3977
|
const errors_1 = requireEs2018();
|
|
4364
3978
|
function take$1(iterable, count) {
|
|
4365
3979
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4383,7 +3997,7 @@
|
|
|
4383
3997
|
var tapAsync$1 = {};
|
|
4384
3998
|
|
|
4385
3999
|
tapAsync$1.tapAsync = void 0;
|
|
4386
|
-
const types_1$c = es2018$
|
|
4000
|
+
const types_1$c = es2018$a;
|
|
4387
4001
|
function tapAsync(iterable, fn) {
|
|
4388
4002
|
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
4389
4003
|
return tapAsyncIterable(iterable, fn);
|
|
@@ -4466,7 +4080,7 @@
|
|
|
4466
4080
|
var uniqByAsync$1 = {};
|
|
4467
4081
|
|
|
4468
4082
|
uniqByAsync$1.uniqByAsync = void 0;
|
|
4469
|
-
const types_1$b = es2018$
|
|
4083
|
+
const types_1$b = es2018$a;
|
|
4470
4084
|
function uniqByAsync(iterable, fn) {
|
|
4471
4085
|
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
4472
4086
|
return uniqByAsyncIterable(iterable, fn);
|
|
@@ -4535,7 +4149,7 @@
|
|
|
4535
4149
|
var zipAsync$1 = {};
|
|
4536
4150
|
|
|
4537
4151
|
zipAsync$1.zipAsync = void 0;
|
|
4538
|
-
const types_1$a = es2018$
|
|
4152
|
+
const types_1$a = es2018$a;
|
|
4539
4153
|
var Kind;
|
|
4540
4154
|
(function (Kind) {
|
|
4541
4155
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4706,7 +4320,7 @@
|
|
|
4706
4320
|
var eachAsync$1 = {};
|
|
4707
4321
|
|
|
4708
4322
|
eachAsync$1.eachAsync = void 0;
|
|
4709
|
-
const types_1$9 = es2018$
|
|
4323
|
+
const types_1$9 = es2018$a;
|
|
4710
4324
|
function eachAsync(iterable, fn) {
|
|
4711
4325
|
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
4712
4326
|
return eachAsyncIterable(iterable, fn);
|
|
@@ -4746,7 +4360,7 @@
|
|
|
4746
4360
|
var everyAsync$1 = {};
|
|
4747
4361
|
|
|
4748
4362
|
everyAsync$1.everyAsync = void 0;
|
|
4749
|
-
const types_1$8 = es2018$
|
|
4363
|
+
const types_1$8 = es2018$a;
|
|
4750
4364
|
function everyAsync(iterable, predicate) {
|
|
4751
4365
|
if ((0, types_1$8.isAsyncIterable)(iterable)) {
|
|
4752
4366
|
return everyAsyncIterable(iterable, predicate);
|
|
@@ -4792,7 +4406,7 @@
|
|
|
4792
4406
|
var findAsync$1 = {};
|
|
4793
4407
|
|
|
4794
4408
|
findAsync$1.findAsync = void 0;
|
|
4795
|
-
const types_1$7 = es2018$
|
|
4409
|
+
const types_1$7 = es2018$a;
|
|
4796
4410
|
function findAsync(iterable, predicate) {
|
|
4797
4411
|
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
4798
4412
|
return findAsyncIterable(iterable, predicate);
|
|
@@ -4916,7 +4530,7 @@
|
|
|
4916
4530
|
var reduceAsync$1 = {};
|
|
4917
4531
|
|
|
4918
4532
|
reduceAsync$1.reduceAsync = void 0;
|
|
4919
|
-
const types_1$6 = es2018$
|
|
4533
|
+
const types_1$6 = es2018$a;
|
|
4920
4534
|
function reduceAsync(iterable, fn, initialValue) {
|
|
4921
4535
|
if ((0, types_1$6.isUndefined)(initialValue)) {
|
|
4922
4536
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
@@ -5012,7 +4626,7 @@
|
|
|
5012
4626
|
var reduce$1 = {};
|
|
5013
4627
|
|
|
5014
4628
|
reduce$1.reduce = void 0;
|
|
5015
|
-
const types_1$5 = es2018$
|
|
4629
|
+
const types_1$5 = es2018$a;
|
|
5016
4630
|
function reduce(iterable, fn, initialValue) {
|
|
5017
4631
|
if ((0, types_1$5.isUndefined)(initialValue)) {
|
|
5018
4632
|
return reduceWithoutInitialValue(iterable, fn);
|
|
@@ -5059,7 +4673,7 @@
|
|
|
5059
4673
|
var someAsync$1 = {};
|
|
5060
4674
|
|
|
5061
4675
|
someAsync$1.someAsync = void 0;
|
|
5062
|
-
const types_1$4 = es2018$
|
|
4676
|
+
const types_1$4 = es2018$a;
|
|
5063
4677
|
function someAsync(iterable, predicate) {
|
|
5064
4678
|
if ((0, types_1$4.isAsyncIterable)(iterable)) {
|
|
5065
4679
|
return someAsyncIterable(iterable, predicate);
|
|
@@ -5299,7 +4913,7 @@
|
|
|
5299
4913
|
var hasRequiredEs2018$1;
|
|
5300
4914
|
|
|
5301
4915
|
function requireEs2018$1 () {
|
|
5302
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
4916
|
+
if (hasRequiredEs2018$1) return es2018$8;
|
|
5303
4917
|
hasRequiredEs2018$1 = 1;
|
|
5304
4918
|
(function (exports) {
|
|
5305
4919
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5318,8 +4932,8 @@
|
|
|
5318
4932
|
};__exportStar(requireMiddleware(), exports);
|
|
5319
4933
|
__exportStar(output, exports);
|
|
5320
4934
|
|
|
5321
|
-
} (es2018$
|
|
5322
|
-
return es2018$
|
|
4935
|
+
} (es2018$8));
|
|
4936
|
+
return es2018$8;
|
|
5323
4937
|
}
|
|
5324
4938
|
|
|
5325
4939
|
var getErrorNames$1 = {};
|
|
@@ -5338,7 +4952,7 @@
|
|
|
5338
4952
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
5339
4953
|
|
|
5340
4954
|
getErrorNames$1.getErrorNames = void 0;
|
|
5341
|
-
const types_1$3 = es2018$
|
|
4955
|
+
const types_1$3 = es2018$a;
|
|
5342
4956
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
5343
4957
|
function* getErrorNames(err) {
|
|
5344
4958
|
var _a;
|
|
@@ -5359,7 +4973,7 @@
|
|
|
5359
4973
|
var serializableError = {};
|
|
5360
4974
|
|
|
5361
4975
|
serializableError.isSerializableError = void 0;
|
|
5362
|
-
const types_1$2 = es2018$
|
|
4976
|
+
const types_1$2 = es2018$a;
|
|
5363
4977
|
function isSerializableError(val) {
|
|
5364
4978
|
return (0, types_1$2.isObject)(val)
|
|
5365
4979
|
&& (0, types_1$2.isString)(val.name)
|
|
@@ -5377,7 +4991,7 @@
|
|
|
5377
4991
|
customError$1.CustomError = void 0;
|
|
5378
4992
|
const iterable_operator_1 = requireEs2018$1();
|
|
5379
4993
|
const get_error_names_1 = getErrorNames$1;
|
|
5380
|
-
const types_1 = es2018$
|
|
4994
|
+
const types_1 = es2018$a;
|
|
5381
4995
|
const serializable_error_1 = serializableError;
|
|
5382
4996
|
class CustomError extends Error {
|
|
5383
4997
|
get name() {
|
|
@@ -5523,7 +5137,7 @@
|
|
|
5523
5137
|
var hasRequiredEs2018;
|
|
5524
5138
|
|
|
5525
5139
|
function requireEs2018 () {
|
|
5526
|
-
if (hasRequiredEs2018) return es2018$
|
|
5140
|
+
if (hasRequiredEs2018) return es2018$9;
|
|
5527
5141
|
hasRequiredEs2018 = 1;
|
|
5528
5142
|
(function (exports) {
|
|
5529
5143
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5548,12 +5162,12 @@
|
|
|
5548
5162
|
__exportStar(getErrorNames$1, exports);
|
|
5549
5163
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
5550
5164
|
|
|
5551
|
-
} (es2018$
|
|
5552
|
-
return es2018$
|
|
5165
|
+
} (es2018$9));
|
|
5166
|
+
return es2018$9;
|
|
5553
5167
|
}
|
|
5554
5168
|
|
|
5555
5169
|
csv$1.csv = void 0;
|
|
5556
|
-
const extra_fetch_1$4 = es2018$
|
|
5170
|
+
const extra_fetch_1$4 = es2018$c;
|
|
5557
5171
|
const papaparse_1$1 = papaparse.exports;
|
|
5558
5172
|
const errors_1$2 = requireEs2018();
|
|
5559
5173
|
function csv(payload) {
|
|
@@ -5590,7 +5204,7 @@
|
|
|
5590
5204
|
var header$1 = {};
|
|
5591
5205
|
|
|
5592
5206
|
header$1.header = void 0;
|
|
5593
|
-
const extra_fetch_1$3 = es2018$
|
|
5207
|
+
const extra_fetch_1$3 = es2018$c;
|
|
5594
5208
|
function header(name, value) {
|
|
5595
5209
|
return (options) => {
|
|
5596
5210
|
const headers = new extra_fetch_1$3.Headers(options.headers);
|
|
@@ -5606,7 +5220,7 @@
|
|
|
5606
5220
|
var appendHeader$1 = {};
|
|
5607
5221
|
|
|
5608
5222
|
appendHeader$1.appendHeader = void 0;
|
|
5609
|
-
const extra_fetch_1$2 = es2018$
|
|
5223
|
+
const extra_fetch_1$2 = es2018$c;
|
|
5610
5224
|
function appendHeader(name, value) {
|
|
5611
5225
|
return (options) => {
|
|
5612
5226
|
const headers = new extra_fetch_1$2.Headers(options.headers);
|
|
@@ -5622,7 +5236,7 @@
|
|
|
5622
5236
|
var headers$1 = {};
|
|
5623
5237
|
|
|
5624
5238
|
headers$1.headers = void 0;
|
|
5625
|
-
const extra_fetch_1$1 = es2018$
|
|
5239
|
+
const extra_fetch_1$1 = es2018$c;
|
|
5626
5240
|
function headers(headers) {
|
|
5627
5241
|
return (options) => {
|
|
5628
5242
|
const newHeaders = new extra_fetch_1$1.Headers(options.headers);
|
|
@@ -5762,8 +5376,8 @@
|
|
|
5762
5376
|
var formDataField$1 = {};
|
|
5763
5377
|
|
|
5764
5378
|
formDataField$1.formDataField = void 0;
|
|
5765
|
-
const extra_fetch_1 = es2018$
|
|
5766
|
-
const types_1$1 = es2018$
|
|
5379
|
+
const extra_fetch_1 = es2018$c;
|
|
5380
|
+
const types_1$1 = es2018$a;
|
|
5767
5381
|
function formDataField(name, value) {
|
|
5768
5382
|
return (options) => {
|
|
5769
5383
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
@@ -6139,9 +5753,9 @@
|
|
|
6139
5753
|
}));
|
|
6140
5754
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6141
5755
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6142
|
-
};__exportStar(url$
|
|
5756
|
+
};__exportStar(url$1, exports);
|
|
6143
5757
|
__exportStar(text$1, exports);
|
|
6144
|
-
__exportStar(json$
|
|
5758
|
+
__exportStar(json$1, exports);
|
|
6145
5759
|
__exportStar(csv$1, exports);
|
|
6146
5760
|
__exportStar(signal$1, exports);
|
|
6147
5761
|
__exportStar(header$1, exports);
|
|
@@ -6983,7 +6597,7 @@
|
|
|
6983
6597
|
|
|
6984
6598
|
abortError.AbortError = void 0;
|
|
6985
6599
|
const errors_1 = requireEs2018();
|
|
6986
|
-
const types_1 = es2018$
|
|
6600
|
+
const types_1 = es2018$a;
|
|
6987
6601
|
const iterable_operator_1 = requireEs2018$1();
|
|
6988
6602
|
class AbortError extends errors_1.CustomError {
|
|
6989
6603
|
static [Symbol.hasInstance](instance) {
|
|
@@ -7104,7 +6718,7 @@
|
|
|
7104
6718
|
options.signal,
|
|
7105
6719
|
options.timeout !== false && ((_a = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7106
6720
|
])),
|
|
7107
|
-
|
|
6721
|
+
((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive) && transformers.keepalive(),
|
|
7108
6722
|
transformers.header('Accept-Version', expectedVersion)
|
|
7109
6723
|
];
|
|
7110
6724
|
}
|
|
@@ -7128,7 +6742,7 @@
|
|
|
7128
6742
|
options.signal,
|
|
7129
6743
|
options.timeout !== false && ((_b = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7130
6744
|
])),
|
|
7131
|
-
|
|
6745
|
+
((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive) && transformers.keepalive(),
|
|
7132
6746
|
transformers.header('Accept-Version', expectedVersion)
|
|
7133
6747
|
];
|
|
7134
6748
|
}
|
|
@@ -7136,16 +6750,16 @@
|
|
|
7136
6750
|
* @throws {AbortError}
|
|
7137
6751
|
*/
|
|
7138
6752
|
async append(namespace, itemId, payload, index, options = {}) {
|
|
7139
|
-
const req = es2018$
|
|
7140
|
-
await es2018$
|
|
6753
|
+
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));
|
|
6754
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7141
6755
|
}
|
|
7142
6756
|
/**
|
|
7143
6757
|
* @throws {AbortError}
|
|
7144
6758
|
*/
|
|
7145
6759
|
async getEvent(namespace, itemId, index, options = {}) {
|
|
7146
|
-
const req = es2018$
|
|
6760
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
|
|
7147
6761
|
try {
|
|
7148
|
-
return await es2018$
|
|
6762
|
+
return await es2018$c.fetch(req)
|
|
7149
6763
|
.then(es2018$1.ok)
|
|
7150
6764
|
.then(es2018$1.toJSON);
|
|
7151
6765
|
}
|
|
@@ -7159,9 +6773,9 @@
|
|
|
7159
6773
|
* @throws {AbortError}
|
|
7160
6774
|
*/
|
|
7161
6775
|
async getEvents(namespace, itemId, options = {}) {
|
|
7162
|
-
const req = es2018$
|
|
6776
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
|
|
7163
6777
|
try {
|
|
7164
|
-
return await es2018$
|
|
6778
|
+
return await es2018$c.fetch(req)
|
|
7165
6779
|
.then(es2018$1.ok)
|
|
7166
6780
|
.then(es2018$1.toJSON);
|
|
7167
6781
|
}
|
|
@@ -7175,8 +6789,8 @@
|
|
|
7175
6789
|
* @throws {AbortError}
|
|
7176
6790
|
*/
|
|
7177
6791
|
async getSize(namespace, itemId, options = {}) {
|
|
7178
|
-
const req = es2018$
|
|
7179
|
-
return await es2018$
|
|
6792
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
|
|
6793
|
+
return await es2018$c.fetch(req)
|
|
7180
6794
|
.then(es2018$1.ok)
|
|
7181
6795
|
.then(es2018$1.toJSON);
|
|
7182
6796
|
}
|
|
@@ -7184,9 +6798,9 @@
|
|
|
7184
6798
|
* @throws {AbortError}
|
|
7185
6799
|
*/
|
|
7186
6800
|
async has(namespace, itemId, options = {}) {
|
|
7187
|
-
const req = es2018$
|
|
6801
|
+
const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
7188
6802
|
try {
|
|
7189
|
-
await es2018$
|
|
6803
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7190
6804
|
return true;
|
|
7191
6805
|
}
|
|
7192
6806
|
catch (e) {
|
|
@@ -7199,22 +6813,22 @@
|
|
|
7199
6813
|
* @throws {AbortError}
|
|
7200
6814
|
*/
|
|
7201
6815
|
async del(namespace, itemId, options = {}) {
|
|
7202
|
-
const req = es2018$
|
|
7203
|
-
await es2018$
|
|
6816
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
6817
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7204
6818
|
}
|
|
7205
6819
|
/**
|
|
7206
6820
|
* @throws {AbortError}
|
|
7207
6821
|
*/
|
|
7208
6822
|
async clear(namespace, options = {}) {
|
|
7209
|
-
const req = es2018$
|
|
7210
|
-
await es2018$
|
|
6823
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
|
|
6824
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7211
6825
|
}
|
|
7212
6826
|
/**
|
|
7213
6827
|
* @throws {AbortError}
|
|
7214
6828
|
*/
|
|
7215
6829
|
async getAllItemIds(namespace, options = {}) {
|
|
7216
|
-
const req = es2018$
|
|
7217
|
-
return await es2018$
|
|
6830
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
|
|
6831
|
+
return await es2018$c.fetch(req)
|
|
7218
6832
|
.then(es2018$1.ok)
|
|
7219
6833
|
.then(es2018$1.toJSON);
|
|
7220
6834
|
}
|
|
@@ -7222,8 +6836,8 @@
|
|
|
7222
6836
|
* @throws {AbortError}
|
|
7223
6837
|
*/
|
|
7224
6838
|
async getAllNamespaces(options = {}) {
|
|
7225
|
-
const req = es2018$
|
|
7226
|
-
return await es2018$
|
|
6839
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
|
|
6840
|
+
return await es2018$c.fetch(req)
|
|
7227
6841
|
.then(es2018$1.ok)
|
|
7228
6842
|
.then(es2018$1.toJSON);
|
|
7229
6843
|
}
|
|
@@ -7231,8 +6845,8 @@
|
|
|
7231
6845
|
* @throws {AbortError}
|
|
7232
6846
|
*/
|
|
7233
6847
|
async stats(namespace, options = {}) {
|
|
7234
|
-
const req = es2018$
|
|
7235
|
-
return await es2018$
|
|
6848
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
|
|
6849
|
+
return await es2018$c.fetch(req)
|
|
7236
6850
|
.then(es2018$1.ok)
|
|
7237
6851
|
.then(es2018$1.toJSON);
|
|
7238
6852
|
}
|
|
@@ -7243,8 +6857,8 @@
|
|
|
7243
6857
|
* @throws {AbortError}
|
|
7244
6858
|
*/
|
|
7245
6859
|
async getNamespaces(options = {}) {
|
|
7246
|
-
const req = es2018$
|
|
7247
|
-
return await es2018$
|
|
6860
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
|
|
6861
|
+
return await es2018$c.fetch(req)
|
|
7248
6862
|
.then(es2018$1.ok)
|
|
7249
6863
|
.then(es2018$1.toJSON);
|
|
7250
6864
|
}
|
|
@@ -7252,8 +6866,8 @@
|
|
|
7252
6866
|
* @throws {AbortError}
|
|
7253
6867
|
*/
|
|
7254
6868
|
async get(namespace, options = {}) {
|
|
7255
|
-
const req = es2018$
|
|
7256
|
-
return await es2018$
|
|
6869
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6870
|
+
return await es2018$c.fetch(req)
|
|
7257
6871
|
.then(es2018$1.ok)
|
|
7258
6872
|
.then(es2018$1.toJSON);
|
|
7259
6873
|
}
|
|
@@ -7261,15 +6875,15 @@
|
|
|
7261
6875
|
* @throws {AbortError}
|
|
7262
6876
|
*/
|
|
7263
6877
|
async set(namespace, schema, options = {}) {
|
|
7264
|
-
const req = es2018$
|
|
7265
|
-
await es2018$
|
|
6878
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
|
|
6879
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7266
6880
|
}
|
|
7267
6881
|
/**
|
|
7268
6882
|
* @throws {AbortError}
|
|
7269
6883
|
*/
|
|
7270
6884
|
async remove(namespace, options = {}) {
|
|
7271
|
-
const req = es2018$
|
|
7272
|
-
await es2018$
|
|
6885
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6886
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7273
6887
|
}
|
|
7274
6888
|
}
|
|
7275
6889
|
|
|
@@ -7278,8 +6892,8 @@
|
|
|
7278
6892
|
* @throws {AbortError}
|
|
7279
6893
|
*/
|
|
7280
6894
|
async getNamespaces(options = {}) {
|
|
7281
|
-
const req = es2018$
|
|
7282
|
-
return await es2018$
|
|
6895
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
|
|
6896
|
+
return await es2018$c.fetch(req)
|
|
7283
6897
|
.then(es2018$1.ok)
|
|
7284
6898
|
.then(es2018$1.toJSON);
|
|
7285
6899
|
}
|
|
@@ -7287,15 +6901,15 @@
|
|
|
7287
6901
|
* @throws {AbortError}
|
|
7288
6902
|
*/
|
|
7289
6903
|
async add(namespace, options = {}) {
|
|
7290
|
-
const req = es2018$
|
|
7291
|
-
await es2018$
|
|
6904
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6905
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7292
6906
|
}
|
|
7293
6907
|
/**
|
|
7294
6908
|
* @throws {AbortError}
|
|
7295
6909
|
*/
|
|
7296
6910
|
async remove(namespace, options = {}) {
|
|
7297
|
-
const req = es2018$
|
|
7298
|
-
await es2018$
|
|
6911
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6912
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7299
6913
|
}
|
|
7300
6914
|
}
|
|
7301
6915
|
|
|
@@ -7304,8 +6918,8 @@
|
|
|
7304
6918
|
* @throws {AbortError}
|
|
7305
6919
|
*/
|
|
7306
6920
|
async getNamespaces(options = {}) {
|
|
7307
|
-
const req = es2018$
|
|
7308
|
-
return await es2018$
|
|
6921
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
|
|
6922
|
+
return await es2018$c.fetch(req)
|
|
7309
6923
|
.then(es2018$1.ok)
|
|
7310
6924
|
.then(es2018$1.toJSON);
|
|
7311
6925
|
}
|
|
@@ -7313,15 +6927,15 @@
|
|
|
7313
6927
|
* @throws {AbortError}
|
|
7314
6928
|
*/
|
|
7315
6929
|
async add(namespace, options = {}) {
|
|
7316
|
-
const req = es2018$
|
|
7317
|
-
await es2018$
|
|
6930
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6931
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7318
6932
|
}
|
|
7319
6933
|
/**
|
|
7320
6934
|
* @throws {AbortError}
|
|
7321
6935
|
*/
|
|
7322
6936
|
async remove(namespace, options = {}) {
|
|
7323
|
-
const req = es2018$
|
|
7324
|
-
await es2018$
|
|
6937
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6938
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7325
6939
|
}
|
|
7326
6940
|
}
|
|
7327
6941
|
|
|
@@ -7330,8 +6944,8 @@
|
|
|
7330
6944
|
* @throws {AbortError}
|
|
7331
6945
|
*/
|
|
7332
6946
|
async getNamespaces(options = {}) {
|
|
7333
|
-
const req = es2018$
|
|
7334
|
-
return await es2018$
|
|
6947
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
|
|
6948
|
+
return await es2018$c.fetch(req)
|
|
7335
6949
|
.then(es2018$1.ok)
|
|
7336
6950
|
.then(es2018$1.toJSON);
|
|
7337
6951
|
}
|
|
@@ -7339,8 +6953,8 @@
|
|
|
7339
6953
|
* @throws {AbortError}
|
|
7340
6954
|
*/
|
|
7341
6955
|
async get(namespace, options = {}) {
|
|
7342
|
-
const req = es2018$
|
|
7343
|
-
return await es2018$
|
|
6956
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
|
|
6957
|
+
return await es2018$c.fetch(req)
|
|
7344
6958
|
.then(es2018$1.ok)
|
|
7345
6959
|
.then(es2018$1.toJSON);
|
|
7346
6960
|
}
|
|
@@ -7348,43 +6962,43 @@
|
|
|
7348
6962
|
* @throws {AbortError}
|
|
7349
6963
|
*/
|
|
7350
6964
|
async setWriteTokenRequired(namespace, val, options = {}) {
|
|
7351
|
-
const req = es2018$
|
|
7352
|
-
await es2018$
|
|
6965
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
|
|
6966
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7353
6967
|
}
|
|
7354
6968
|
/**
|
|
7355
6969
|
* @throws {AbortError}
|
|
7356
6970
|
*/
|
|
7357
6971
|
async removeWriteTokenRequired(namespace, options = {}) {
|
|
7358
|
-
const req = es2018$
|
|
7359
|
-
await es2018$
|
|
6972
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
|
|
6973
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7360
6974
|
}
|
|
7361
6975
|
/**
|
|
7362
6976
|
* @throws {AbortError}
|
|
7363
6977
|
*/
|
|
7364
6978
|
async setReadTokenRequired(namespace, val, options = {}) {
|
|
7365
|
-
const req = es2018$
|
|
7366
|
-
await es2018$
|
|
6979
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
|
|
6980
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7367
6981
|
}
|
|
7368
6982
|
/**
|
|
7369
6983
|
* @throws {AbortError}
|
|
7370
6984
|
*/
|
|
7371
6985
|
async removeReadTokenRequired(namespace, options = {}) {
|
|
7372
|
-
const req = es2018$
|
|
7373
|
-
await es2018$
|
|
6986
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
|
|
6987
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7374
6988
|
}
|
|
7375
6989
|
/**
|
|
7376
6990
|
* @throws {AbortError}
|
|
7377
6991
|
*/
|
|
7378
6992
|
async setDeleteTokenRequired(namespace, val, options = {}) {
|
|
7379
|
-
const req = es2018$
|
|
7380
|
-
await es2018$
|
|
6993
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
|
|
6994
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7381
6995
|
}
|
|
7382
6996
|
/**
|
|
7383
6997
|
* @throws {AbortError}
|
|
7384
6998
|
*/
|
|
7385
6999
|
async removeDeleteTokenRequired(namespace, options = {}) {
|
|
7386
|
-
const req = es2018$
|
|
7387
|
-
await es2018$
|
|
7000
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
|
|
7001
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7388
7002
|
}
|
|
7389
7003
|
}
|
|
7390
7004
|
|
|
@@ -7393,8 +7007,8 @@
|
|
|
7393
7007
|
* @throws {AbortError}
|
|
7394
7008
|
*/
|
|
7395
7009
|
async getNamespaces(options = {}) {
|
|
7396
|
-
const req = es2018$
|
|
7397
|
-
return await es2018$
|
|
7010
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
|
|
7011
|
+
return await es2018$c.fetch(req)
|
|
7398
7012
|
.then(es2018$1.ok)
|
|
7399
7013
|
.then(es2018$1.toJSON);
|
|
7400
7014
|
}
|
|
@@ -7402,8 +7016,8 @@
|
|
|
7402
7016
|
* @throws {AbortError}
|
|
7403
7017
|
*/
|
|
7404
7018
|
async getTokens(namespace, options = {}) {
|
|
7405
|
-
const req = es2018$
|
|
7406
|
-
return await es2018$
|
|
7019
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
|
|
7020
|
+
return await es2018$c.fetch(req)
|
|
7407
7021
|
.then(es2018$1.ok)
|
|
7408
7022
|
.then(es2018$1.toJSON);
|
|
7409
7023
|
}
|
|
@@ -7411,43 +7025,43 @@
|
|
|
7411
7025
|
* @throws {AbortError}
|
|
7412
7026
|
*/
|
|
7413
7027
|
async addWriteToken(namespace, token, options = {}) {
|
|
7414
|
-
const req = es2018$
|
|
7415
|
-
await es2018$
|
|
7028
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7029
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7416
7030
|
}
|
|
7417
7031
|
/**
|
|
7418
7032
|
* @throws {AbortError}
|
|
7419
7033
|
*/
|
|
7420
7034
|
async removeWriteToken(namespace, token, options = {}) {
|
|
7421
|
-
const req = es2018$
|
|
7422
|
-
await es2018$
|
|
7035
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7036
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7423
7037
|
}
|
|
7424
7038
|
/**
|
|
7425
7039
|
* @throws {AbortError}
|
|
7426
7040
|
*/
|
|
7427
7041
|
async addReadToken(namespace, token, options = {}) {
|
|
7428
|
-
const req = es2018$
|
|
7429
|
-
await es2018$
|
|
7042
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7043
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7430
7044
|
}
|
|
7431
7045
|
/**
|
|
7432
7046
|
* @throws {AbortError}
|
|
7433
7047
|
*/
|
|
7434
7048
|
async removeReadToken(namespace, token, options = {}) {
|
|
7435
|
-
const req = es2018$
|
|
7436
|
-
await es2018$
|
|
7049
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7050
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7437
7051
|
}
|
|
7438
7052
|
/**
|
|
7439
7053
|
* @throws {AbortError}
|
|
7440
7054
|
*/
|
|
7441
7055
|
async addDeleteToken(namespace, token, options = {}) {
|
|
7442
|
-
const req = es2018$
|
|
7443
|
-
await es2018$
|
|
7056
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7057
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7444
7058
|
}
|
|
7445
7059
|
/**
|
|
7446
7060
|
* @throws {AbortError}
|
|
7447
7061
|
*/
|
|
7448
7062
|
async removeDeleteToken(namespace, token, options = {}) {
|
|
7449
|
-
const req = es2018$
|
|
7450
|
-
await es2018$
|
|
7063
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7064
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7451
7065
|
}
|
|
7452
7066
|
}
|
|
7453
7067
|
|
|
@@ -7462,7 +7076,7 @@
|
|
|
7462
7076
|
}
|
|
7463
7077
|
}
|
|
7464
7078
|
|
|
7465
|
-
exports.AbortError = es2018$
|
|
7079
|
+
exports.AbortError = es2018$c.AbortError;
|
|
7466
7080
|
exports.EStoreClient = EStoreClient;
|
|
7467
7081
|
exports.EStoreManager = EStoreManager;
|
|
7468
7082
|
exports.HTTPClientError = es2018$3.HTTPClientError;
|