svix 1.87.0 → 1.88.0
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/request.d.ts +1 -1
- package/dist/request.js +1 -1
- package/package.json +1 -1
- package/src/request.ts +2 -2
package/dist/request.d.ts
CHANGED
package/dist/request.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.SvixRequest = exports.HttpMethod = exports.LIB_VERSION = void 0;
|
|
13
13
|
const util_1 = require("./util");
|
|
14
14
|
const uuid_1 = require("uuid");
|
|
15
|
-
exports.LIB_VERSION = "1.
|
|
15
|
+
exports.LIB_VERSION = "1.88.0";
|
|
16
16
|
const USER_AGENT = `svix-libs/${exports.LIB_VERSION}/javascript`;
|
|
17
17
|
var HttpMethod;
|
|
18
18
|
(function (HttpMethod) {
|
package/package.json
CHANGED
package/src/request.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ApiException, type XOR } from "./util";
|
|
|
2
2
|
import type { HttpErrorOut, HTTPValidationError } from "./HttpErrors";
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
4
|
|
|
5
|
-
export const LIB_VERSION = "1.
|
|
5
|
+
export const LIB_VERSION = "1.88.0";
|
|
6
6
|
const USER_AGENT = `svix-libs/${LIB_VERSION}/javascript`;
|
|
7
7
|
|
|
8
8
|
export enum HttpMethod {
|
|
@@ -150,7 +150,7 @@ export class SvixRequest {
|
|
|
150
150
|
}
|
|
151
151
|
// Cloudflare Workers fail if the credentials option is used in a fetch call.
|
|
152
152
|
// This work around that. Source:
|
|
153
|
-
// https://github.com/cloudflare/workers-sdk/issues/2514#issuecomment-21.
|
|
153
|
+
// https://github.com/cloudflare/workers-sdk/issues/2514#issuecomment-21.88.0014
|
|
154
154
|
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
155
155
|
|
|
156
156
|
const response = await sendWithRetry(
|