Skip to content

Commit f0eceb8

Browse files
committed
chore: rebuild dist for v2.0.2
1 parent aea3737 commit f0eceb8

10 files changed

Lines changed: 16 additions & 8 deletions

File tree

dist/index.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ var ConversionToolsClient = class {
859859
maxPollingInterval: config.maxPollingInterval || 3e4,
860860
pollingBackoff: config.pollingBackoff || 1.5,
861861
webhookUrl: config.webhookUrl,
862+
userAgent: config.userAgent || `conversiontools-node/${VERSION}`,
862863
onUploadProgress: config.onUploadProgress,
863864
onDownloadProgress: config.onDownloadProgress,
864865
onConversionProgress: config.onConversionProgress
@@ -870,7 +871,7 @@ var ConversionToolsClient = class {
870871
retries: this.config.retries,
871872
retryDelay: this.config.retryDelay,
872873
retryableStatuses: this.config.retryableStatuses,
873-
userAgent: `conversiontools-node/${VERSION}`
874+
userAgent: this.config.userAgent
874875
});
875876
this.files = new FilesAPI(this.http);
876877
this.tasks = new TasksAPI(this.http);

dist/index.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.cts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ interface ConversionToolsConfig {
449449
pollingBackoff?: number;
450450
/** Webhook URL for task completion notifications */
451451
webhookUrl?: string;
452+
/** UserAgent string for HTTP requests */
453+
userAgent?: string;
452454
/** Upload progress callback */
453455
onUploadProgress?: (progress: ProgressEvent) => void;
454456
/** Download progress callback */

dist/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ interface ConversionToolsConfig {
449449
pollingBackoff?: number;
450450
/** Webhook URL for task completion notifications */
451451
webhookUrl?: string;
452+
/** UserAgent string for HTTP requests */
453+
userAgent?: string;
452454
/** Upload progress callback */
453455
onUploadProgress?: (progress: ProgressEvent) => void;
454456
/** Download progress callback */

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ var ConversionToolsClient = class {
859859
maxPollingInterval: config.maxPollingInterval || 3e4,
860860
pollingBackoff: config.pollingBackoff || 1.5,
861861
webhookUrl: config.webhookUrl,
862+
userAgent: config.userAgent || `conversiontools-node/${VERSION}`,
862863
onUploadProgress: config.onUploadProgress,
863864
onDownloadProgress: config.onDownloadProgress,
864865
onConversionProgress: config.onConversionProgress
@@ -870,7 +871,7 @@ var ConversionToolsClient = class {
870871
retries: this.config.retries,
871872
retryDelay: this.config.retryDelay,
872873
retryableStatuses: this.config.retryableStatuses,
873-
userAgent: `conversiontools-node/${VERSION}`
874+
userAgent: this.config.userAgent
874875
});
875876
this.files = new FilesAPI(this.http);
876877
this.tasks = new TasksAPI(this.http);

dist/legacy.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)