@cstar.help/js 0.15.0 → 0.15.1
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/dist/auth/index.cjs +20 -0
- package/dist/auth/index.d.cts +326 -49
- package/dist/auth/index.d.ts +326 -49
- package/dist/auth/index.js +20 -0
- package/dist/community/index.cjs +20 -0
- package/dist/community/index.d.cts +326 -49
- package/dist/community/index.d.ts +326 -49
- package/dist/community/index.js +20 -0
- package/dist/index.cjs +21 -1
- package/dist/index.d.cts +294 -45
- package/dist/index.d.ts +294 -45
- package/dist/index.js +21 -1
- package/dist/library/index.cjs +20 -0
- package/dist/library/index.d.cts +326 -49
- package/dist/library/index.d.ts +326 -49
- package/dist/library/index.js +20 -0
- package/dist/quickhelp/index.cjs +20 -0
- package/dist/quickhelp/index.d.cts +326 -49
- package/dist/quickhelp/index.d.ts +326 -49
- package/dist/quickhelp/index.js +20 -0
- package/package.json +1 -1
package/dist/library/index.d.ts
CHANGED
|
@@ -134,64 +134,341 @@ interface ApiErrorBody {
|
|
|
134
134
|
enable_url?: string;
|
|
135
135
|
}
|
|
136
136
|
/** Base error class for all cStar API errors. */
|
|
137
|
-
declare
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
declare
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
137
|
+
declare const CStarErrorImpl: {
|
|
138
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
139
|
+
readonly type: string;
|
|
140
|
+
readonly code: string;
|
|
141
|
+
readonly param?: string;
|
|
142
|
+
readonly docUrl: string;
|
|
143
|
+
readonly requestId?: string;
|
|
144
|
+
readonly statusCode: number;
|
|
145
|
+
name: string;
|
|
146
|
+
message: string;
|
|
147
|
+
stack?: string;
|
|
148
|
+
};
|
|
149
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
150
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
151
|
+
stackTraceLimit: number;
|
|
152
|
+
};
|
|
153
|
+
declare const CStarAuthenticationErrorImpl: {
|
|
154
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
155
|
+
readonly type: string;
|
|
156
|
+
readonly code: string;
|
|
157
|
+
readonly param?: string;
|
|
158
|
+
readonly docUrl: string;
|
|
159
|
+
readonly requestId?: string;
|
|
160
|
+
readonly statusCode: number;
|
|
161
|
+
name: string;
|
|
162
|
+
message: string;
|
|
163
|
+
stack?: string;
|
|
164
|
+
};
|
|
165
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
166
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
167
|
+
stackTraceLimit: number;
|
|
168
|
+
};
|
|
169
|
+
declare const CStarRateLimitErrorImpl: {
|
|
170
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody, retryAfter?: number): {
|
|
171
|
+
readonly retryAfter: number;
|
|
172
|
+
readonly type: string;
|
|
173
|
+
readonly code: string;
|
|
174
|
+
readonly param?: string;
|
|
175
|
+
readonly docUrl: string;
|
|
176
|
+
readonly requestId?: string;
|
|
177
|
+
readonly statusCode: number;
|
|
178
|
+
name: string;
|
|
179
|
+
message: string;
|
|
180
|
+
stack?: string;
|
|
181
|
+
};
|
|
182
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
183
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
184
|
+
stackTraceLimit: number;
|
|
185
|
+
};
|
|
186
|
+
declare const CStarNotFoundErrorImpl: {
|
|
187
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
188
|
+
readonly type: string;
|
|
189
|
+
readonly code: string;
|
|
190
|
+
readonly param?: string;
|
|
191
|
+
readonly docUrl: string;
|
|
192
|
+
readonly requestId?: string;
|
|
193
|
+
readonly statusCode: number;
|
|
194
|
+
name: string;
|
|
195
|
+
message: string;
|
|
196
|
+
stack?: string;
|
|
197
|
+
};
|
|
198
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
199
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
200
|
+
stackTraceLimit: number;
|
|
201
|
+
};
|
|
202
|
+
declare const CStarValidationErrorImpl: {
|
|
203
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
204
|
+
readonly type: string;
|
|
205
|
+
readonly code: string;
|
|
206
|
+
readonly param?: string;
|
|
207
|
+
readonly docUrl: string;
|
|
208
|
+
readonly requestId?: string;
|
|
209
|
+
readonly statusCode: number;
|
|
210
|
+
name: string;
|
|
211
|
+
message: string;
|
|
212
|
+
stack?: string;
|
|
213
|
+
};
|
|
214
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
215
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
216
|
+
stackTraceLimit: number;
|
|
217
|
+
};
|
|
218
|
+
declare const CStarPermissionErrorImpl: {
|
|
219
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
220
|
+
readonly type: string;
|
|
221
|
+
readonly code: string;
|
|
222
|
+
readonly param?: string;
|
|
223
|
+
readonly docUrl: string;
|
|
224
|
+
readonly requestId?: string;
|
|
225
|
+
readonly statusCode: number;
|
|
226
|
+
name: string;
|
|
227
|
+
message: string;
|
|
228
|
+
stack?: string;
|
|
229
|
+
};
|
|
230
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
231
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
232
|
+
stackTraceLimit: number;
|
|
233
|
+
};
|
|
234
|
+
declare const CStarConflictErrorImpl: {
|
|
235
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
236
|
+
readonly type: string;
|
|
237
|
+
readonly code: string;
|
|
238
|
+
readonly param?: string;
|
|
239
|
+
readonly docUrl: string;
|
|
240
|
+
readonly requestId?: string;
|
|
241
|
+
readonly statusCode: number;
|
|
242
|
+
name: string;
|
|
243
|
+
message: string;
|
|
244
|
+
stack?: string;
|
|
245
|
+
};
|
|
246
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
247
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
248
|
+
stackTraceLimit: number;
|
|
249
|
+
};
|
|
250
|
+
declare const CStarServerErrorImpl: {
|
|
251
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
252
|
+
readonly type: string;
|
|
253
|
+
readonly code: string;
|
|
254
|
+
readonly param?: string;
|
|
255
|
+
readonly docUrl: string;
|
|
256
|
+
readonly requestId?: string;
|
|
257
|
+
readonly statusCode: number;
|
|
258
|
+
name: string;
|
|
259
|
+
message: string;
|
|
260
|
+
stack?: string;
|
|
261
|
+
};
|
|
262
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
263
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
264
|
+
stackTraceLimit: number;
|
|
265
|
+
};
|
|
266
|
+
declare const CStarFeatureDisabledErrorImpl: {
|
|
267
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
268
|
+
readonly feature: string;
|
|
269
|
+
readonly enableUrl: string;
|
|
270
|
+
readonly type: string;
|
|
271
|
+
readonly code: string;
|
|
272
|
+
readonly param?: string;
|
|
273
|
+
readonly docUrl: string;
|
|
274
|
+
readonly requestId?: string;
|
|
275
|
+
readonly statusCode: number;
|
|
276
|
+
name: string;
|
|
277
|
+
message: string;
|
|
278
|
+
stack?: string;
|
|
279
|
+
};
|
|
280
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
281
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
282
|
+
stackTraceLimit: number;
|
|
283
|
+
};
|
|
284
|
+
declare const CStarRealtimeUnavailableErrorImpl: {
|
|
285
|
+
new (message?: string): {
|
|
286
|
+
readonly type: string;
|
|
287
|
+
readonly code: string;
|
|
288
|
+
readonly param?: string;
|
|
289
|
+
readonly docUrl: string;
|
|
290
|
+
readonly requestId?: string;
|
|
291
|
+
readonly statusCode: number;
|
|
292
|
+
name: string;
|
|
293
|
+
message: string;
|
|
294
|
+
stack?: string;
|
|
295
|
+
};
|
|
296
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
297
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
298
|
+
stackTraceLimit: number;
|
|
299
|
+
};
|
|
300
|
+
declare const CStarError: {
|
|
301
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
302
|
+
readonly type: string;
|
|
303
|
+
readonly code: string;
|
|
304
|
+
readonly param?: string;
|
|
305
|
+
readonly docUrl: string;
|
|
306
|
+
readonly requestId?: string;
|
|
307
|
+
readonly statusCode: number;
|
|
308
|
+
name: string;
|
|
309
|
+
message: string;
|
|
310
|
+
stack?: string;
|
|
311
|
+
};
|
|
312
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
313
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
314
|
+
stackTraceLimit: number;
|
|
315
|
+
};
|
|
177
316
|
type CStarError = InstanceType<typeof CStarErrorImpl>;
|
|
178
|
-
declare const CStarAuthenticationError:
|
|
317
|
+
declare const CStarAuthenticationError: {
|
|
318
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
319
|
+
readonly type: string;
|
|
320
|
+
readonly code: string;
|
|
321
|
+
readonly param?: string;
|
|
322
|
+
readonly docUrl: string;
|
|
323
|
+
readonly requestId?: string;
|
|
324
|
+
readonly statusCode: number;
|
|
325
|
+
name: string;
|
|
326
|
+
message: string;
|
|
327
|
+
stack?: string;
|
|
328
|
+
};
|
|
329
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
330
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
331
|
+
stackTraceLimit: number;
|
|
332
|
+
};
|
|
179
333
|
type CStarAuthenticationError = InstanceType<typeof CStarAuthenticationErrorImpl>;
|
|
180
|
-
declare const CStarRateLimitError:
|
|
334
|
+
declare const CStarRateLimitError: {
|
|
335
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody, retryAfter?: number): {
|
|
336
|
+
readonly retryAfter: number;
|
|
337
|
+
readonly type: string;
|
|
338
|
+
readonly code: string;
|
|
339
|
+
readonly param?: string;
|
|
340
|
+
readonly docUrl: string;
|
|
341
|
+
readonly requestId?: string;
|
|
342
|
+
readonly statusCode: number;
|
|
343
|
+
name: string;
|
|
344
|
+
message: string;
|
|
345
|
+
stack?: string;
|
|
346
|
+
};
|
|
347
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
348
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
349
|
+
stackTraceLimit: number;
|
|
350
|
+
};
|
|
181
351
|
type CStarRateLimitError = InstanceType<typeof CStarRateLimitErrorImpl>;
|
|
182
|
-
declare const CStarNotFoundError:
|
|
352
|
+
declare const CStarNotFoundError: {
|
|
353
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
354
|
+
readonly type: string;
|
|
355
|
+
readonly code: string;
|
|
356
|
+
readonly param?: string;
|
|
357
|
+
readonly docUrl: string;
|
|
358
|
+
readonly requestId?: string;
|
|
359
|
+
readonly statusCode: number;
|
|
360
|
+
name: string;
|
|
361
|
+
message: string;
|
|
362
|
+
stack?: string;
|
|
363
|
+
};
|
|
364
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
365
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
366
|
+
stackTraceLimit: number;
|
|
367
|
+
};
|
|
183
368
|
type CStarNotFoundError = InstanceType<typeof CStarNotFoundErrorImpl>;
|
|
184
|
-
declare const CStarValidationError:
|
|
369
|
+
declare const CStarValidationError: {
|
|
370
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
371
|
+
readonly type: string;
|
|
372
|
+
readonly code: string;
|
|
373
|
+
readonly param?: string;
|
|
374
|
+
readonly docUrl: string;
|
|
375
|
+
readonly requestId?: string;
|
|
376
|
+
readonly statusCode: number;
|
|
377
|
+
name: string;
|
|
378
|
+
message: string;
|
|
379
|
+
stack?: string;
|
|
380
|
+
};
|
|
381
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
382
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
383
|
+
stackTraceLimit: number;
|
|
384
|
+
};
|
|
185
385
|
type CStarValidationError = InstanceType<typeof CStarValidationErrorImpl>;
|
|
186
|
-
declare const CStarPermissionError:
|
|
386
|
+
declare const CStarPermissionError: {
|
|
387
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
388
|
+
readonly type: string;
|
|
389
|
+
readonly code: string;
|
|
390
|
+
readonly param?: string;
|
|
391
|
+
readonly docUrl: string;
|
|
392
|
+
readonly requestId?: string;
|
|
393
|
+
readonly statusCode: number;
|
|
394
|
+
name: string;
|
|
395
|
+
message: string;
|
|
396
|
+
stack?: string;
|
|
397
|
+
};
|
|
398
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
399
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
400
|
+
stackTraceLimit: number;
|
|
401
|
+
};
|
|
187
402
|
type CStarPermissionError = InstanceType<typeof CStarPermissionErrorImpl>;
|
|
188
|
-
declare const CStarConflictError:
|
|
403
|
+
declare const CStarConflictError: {
|
|
404
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
405
|
+
readonly type: string;
|
|
406
|
+
readonly code: string;
|
|
407
|
+
readonly param?: string;
|
|
408
|
+
readonly docUrl: string;
|
|
409
|
+
readonly requestId?: string;
|
|
410
|
+
readonly statusCode: number;
|
|
411
|
+
name: string;
|
|
412
|
+
message: string;
|
|
413
|
+
stack?: string;
|
|
414
|
+
};
|
|
415
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
416
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
417
|
+
stackTraceLimit: number;
|
|
418
|
+
};
|
|
189
419
|
type CStarConflictError = InstanceType<typeof CStarConflictErrorImpl>;
|
|
190
|
-
declare const CStarServerError:
|
|
420
|
+
declare const CStarServerError: {
|
|
421
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
422
|
+
readonly type: string;
|
|
423
|
+
readonly code: string;
|
|
424
|
+
readonly param?: string;
|
|
425
|
+
readonly docUrl: string;
|
|
426
|
+
readonly requestId?: string;
|
|
427
|
+
readonly statusCode: number;
|
|
428
|
+
name: string;
|
|
429
|
+
message: string;
|
|
430
|
+
stack?: string;
|
|
431
|
+
};
|
|
432
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
433
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
434
|
+
stackTraceLimit: number;
|
|
435
|
+
};
|
|
191
436
|
type CStarServerError = InstanceType<typeof CStarServerErrorImpl>;
|
|
192
|
-
declare const CStarFeatureDisabledError:
|
|
437
|
+
declare const CStarFeatureDisabledError: {
|
|
438
|
+
new (messageOrStatus: string | number, body?: ApiErrorBody): {
|
|
439
|
+
readonly feature: string;
|
|
440
|
+
readonly enableUrl: string;
|
|
441
|
+
readonly type: string;
|
|
442
|
+
readonly code: string;
|
|
443
|
+
readonly param?: string;
|
|
444
|
+
readonly docUrl: string;
|
|
445
|
+
readonly requestId?: string;
|
|
446
|
+
readonly statusCode: number;
|
|
447
|
+
name: string;
|
|
448
|
+
message: string;
|
|
449
|
+
stack?: string;
|
|
450
|
+
};
|
|
451
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
452
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
453
|
+
stackTraceLimit: number;
|
|
454
|
+
};
|
|
193
455
|
type CStarFeatureDisabledError = InstanceType<typeof CStarFeatureDisabledErrorImpl>;
|
|
194
|
-
declare const CStarRealtimeUnavailableError:
|
|
456
|
+
declare const CStarRealtimeUnavailableError: {
|
|
457
|
+
new (message?: string): {
|
|
458
|
+
readonly type: string;
|
|
459
|
+
readonly code: string;
|
|
460
|
+
readonly param?: string;
|
|
461
|
+
readonly docUrl: string;
|
|
462
|
+
readonly requestId?: string;
|
|
463
|
+
readonly statusCode: number;
|
|
464
|
+
name: string;
|
|
465
|
+
message: string;
|
|
466
|
+
stack?: string;
|
|
467
|
+
};
|
|
468
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
469
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
470
|
+
stackTraceLimit: number;
|
|
471
|
+
};
|
|
195
472
|
type CStarRealtimeUnavailableError = InstanceType<typeof CStarRealtimeUnavailableErrorImpl>;
|
|
196
473
|
/**
|
|
197
474
|
* Parse a public-route response (anonymous LibraryClient, CommunityClient,
|
package/dist/library/index.js
CHANGED
|
@@ -165,6 +165,26 @@ var registry = globalSlot[REGISTRY_KEY] ?? (globalSlot[REGISTRY_KEY] = {
|
|
|
165
165
|
CStarFeatureDisabledError: CStarFeatureDisabledErrorImpl,
|
|
166
166
|
CStarRealtimeUnavailableError: CStarRealtimeUnavailableErrorImpl
|
|
167
167
|
});
|
|
168
|
+
var NAME_FIXES = [
|
|
169
|
+
"CStarError",
|
|
170
|
+
"CStarAuthenticationError",
|
|
171
|
+
"CStarRateLimitError",
|
|
172
|
+
"CStarNotFoundError",
|
|
173
|
+
"CStarValidationError",
|
|
174
|
+
"CStarPermissionError",
|
|
175
|
+
"CStarConflictError",
|
|
176
|
+
"CStarServerError",
|
|
177
|
+
"CStarFeatureDisabledError",
|
|
178
|
+
"CStarRealtimeUnavailableError"
|
|
179
|
+
];
|
|
180
|
+
for (const key of NAME_FIXES) {
|
|
181
|
+
if (registry[key].name !== key) {
|
|
182
|
+
Object.defineProperty(registry[key], "name", {
|
|
183
|
+
value: key,
|
|
184
|
+
configurable: true
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
168
188
|
var CStarError = registry.CStarError;
|
|
169
189
|
var CStarAuthenticationError = registry.CStarAuthenticationError;
|
|
170
190
|
var CStarRateLimitError = registry.CStarRateLimitError;
|
package/dist/quickhelp/index.cjs
CHANGED
|
@@ -205,6 +205,26 @@ var registry = globalSlot[REGISTRY_KEY] ?? (globalSlot[REGISTRY_KEY] = {
|
|
|
205
205
|
CStarFeatureDisabledError: CStarFeatureDisabledErrorImpl,
|
|
206
206
|
CStarRealtimeUnavailableError: CStarRealtimeUnavailableErrorImpl
|
|
207
207
|
});
|
|
208
|
+
var NAME_FIXES = [
|
|
209
|
+
"CStarError",
|
|
210
|
+
"CStarAuthenticationError",
|
|
211
|
+
"CStarRateLimitError",
|
|
212
|
+
"CStarNotFoundError",
|
|
213
|
+
"CStarValidationError",
|
|
214
|
+
"CStarPermissionError",
|
|
215
|
+
"CStarConflictError",
|
|
216
|
+
"CStarServerError",
|
|
217
|
+
"CStarFeatureDisabledError",
|
|
218
|
+
"CStarRealtimeUnavailableError"
|
|
219
|
+
];
|
|
220
|
+
for (const key of NAME_FIXES) {
|
|
221
|
+
if (registry[key].name !== key) {
|
|
222
|
+
Object.defineProperty(registry[key], "name", {
|
|
223
|
+
value: key,
|
|
224
|
+
configurable: true
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
208
228
|
var CStarError = registry.CStarError;
|
|
209
229
|
var CStarAuthenticationError = registry.CStarAuthenticationError;
|
|
210
230
|
var CStarRateLimitError = registry.CStarRateLimitError;
|