@owox/connectors 0.12.0-next-20251111084252 → 0.12.0-next-20251112142218
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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10126,12 +10126,12 @@ const MicrosoftAds = (function() {
|
|
|
10126
10126
|
*/
|
|
10127
10127
|
async pollUntilStatus({ url, options, isDone, interval = 5e3 }) {
|
|
10128
10128
|
const startTime = Date.now();
|
|
10129
|
-
const timeout =
|
|
10129
|
+
const timeout = 30 * 60 * 1e3;
|
|
10130
10130
|
let statusResult;
|
|
10131
10131
|
try {
|
|
10132
10132
|
do {
|
|
10133
10133
|
if (Date.now() - startTime > timeout) {
|
|
10134
|
-
throw new Error("Polling timed out after
|
|
10134
|
+
throw new Error("Polling timed out after 30 minutes");
|
|
10135
10135
|
}
|
|
10136
10136
|
await AsyncUtils3.delay(interval);
|
|
10137
10137
|
const response = await HttpUtils3.fetch(url, options);
|
package/dist/index.js
CHANGED
|
@@ -10131,12 +10131,12 @@ OPTIONS(description="${this.description}")`;
|
|
|
10131
10131
|
*/
|
|
10132
10132
|
async pollUntilStatus({ url, options, isDone, interval = 5e3 }) {
|
|
10133
10133
|
const startTime = Date.now();
|
|
10134
|
-
const timeout =
|
|
10134
|
+
const timeout = 30 * 60 * 1e3;
|
|
10135
10135
|
let statusResult;
|
|
10136
10136
|
try {
|
|
10137
10137
|
do {
|
|
10138
10138
|
if (Date.now() - startTime > timeout) {
|
|
10139
|
-
throw new Error("Polling timed out after
|
|
10139
|
+
throw new Error("Polling timed out after 30 minutes");
|
|
10140
10140
|
}
|
|
10141
10141
|
await AsyncUtils2.delay(interval);
|
|
10142
10142
|
const response = await HttpUtils2.fetch(url, options);
|