sidechat.js 2.4.7 → 2.4.8
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.mjs +2 -2
- package/package.json +1 -1
- package/src/classes/SidechatAPIClient.js +2 -2
package/dist/index.cjs
CHANGED
|
@@ -346,7 +346,7 @@ class SidechatAPIClient {
|
|
|
346
346
|
}
|
|
347
347
|
return json;
|
|
348
348
|
} catch (err) {
|
|
349
|
-
console.error(
|
|
349
|
+
console.error(err);
|
|
350
350
|
throw new SidechatAPIError("Failed to request email verification.");
|
|
351
351
|
}
|
|
352
352
|
};
|
|
@@ -375,7 +375,7 @@ class SidechatAPIClient {
|
|
|
375
375
|
throw new SidechatAPIError(json?.message || "Email is not verified.");
|
|
376
376
|
}
|
|
377
377
|
} catch (err) {
|
|
378
|
-
console.error(
|
|
378
|
+
console.error(err);
|
|
379
379
|
throw new SidechatAPIError("Email is not verified.");
|
|
380
380
|
}
|
|
381
381
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -344,7 +344,7 @@ class SidechatAPIClient {
|
|
|
344
344
|
}
|
|
345
345
|
return json;
|
|
346
346
|
} catch (err) {
|
|
347
|
-
console.error(
|
|
347
|
+
console.error(err);
|
|
348
348
|
throw new SidechatAPIError("Failed to request email verification.");
|
|
349
349
|
}
|
|
350
350
|
};
|
|
@@ -373,7 +373,7 @@ class SidechatAPIClient {
|
|
|
373
373
|
throw new SidechatAPIError(json?.message || "Email is not verified.");
|
|
374
374
|
}
|
|
375
375
|
} catch (err) {
|
|
376
|
-
console.error(
|
|
376
|
+
console.error(err);
|
|
377
377
|
throw new SidechatAPIError("Email is not verified.");
|
|
378
378
|
}
|
|
379
379
|
};
|
package/package.json
CHANGED
|
@@ -177,7 +177,7 @@ class SidechatAPIClient {
|
|
|
177
177
|
}
|
|
178
178
|
return json;
|
|
179
179
|
} catch (err) {
|
|
180
|
-
console.error(
|
|
180
|
+
console.error(err);
|
|
181
181
|
throw new SidechatAPIError("Failed to request email verification.");
|
|
182
182
|
}
|
|
183
183
|
};
|
|
@@ -206,7 +206,7 @@ class SidechatAPIClient {
|
|
|
206
206
|
throw new SidechatAPIError(json?.message || "Email is not verified.");
|
|
207
207
|
}
|
|
208
208
|
} catch (err) {
|
|
209
|
-
console.error(
|
|
209
|
+
console.error(err);
|
|
210
210
|
throw new SidechatAPIError("Email is not verified.");
|
|
211
211
|
}
|
|
212
212
|
};
|