@upstash/qstash 0.1.5 → 0.1.6
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/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/lib/deno_std_wasm_crypto.generated.mjs +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/mod.js +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv32.js +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv64.js +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/index.js +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/util.js +0 -0
- package/esm/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/mod.js +0 -0
- package/esm/entrypoints/nextjs.js +2 -2
- package/package.json +1 -1
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/lib/deno_std_wasm_crypto.generated.mjs +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/mod.js +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv32.js +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv64.js +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/index.js +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/util.js +0 -0
- package/script/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/mod.js +0 -0
- package/script/entrypoints/nextjs.js +2 -2
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/lib/deno_std_wasm_crypto.generated.d.mts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/_wasm_crypto/mod.d.ts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv32.d.ts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/fnv64.d.ts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/index.d.ts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/_fnv/util.d.ts +0 -0
- package/types/deps/deno.land/{std@0.147.0 → std@0.149.0}/crypto/mod.d.ts +0 -0
- package/types/pkg/receiver.d.ts +1 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,13 +3,13 @@ import { Receiver } from "../pkg/receiver.js";
|
|
|
3
3
|
export function verifySignature(handler, config) {
|
|
4
4
|
const currentSigningKey = config?.currentSigningKey ??
|
|
5
5
|
// @ts-ignore Deno can't compile
|
|
6
|
-
process.env
|
|
6
|
+
process.env["QSTASH_CURRENT_SIGNING_KEY"];
|
|
7
7
|
if (!currentSigningKey) {
|
|
8
8
|
throw new Error("currentSigningKey is required, either in the config or as env variable QSTASH_CURRENT_SIGNING_KEY");
|
|
9
9
|
}
|
|
10
10
|
const nextSigningKey = config?.nextSigningKey ??
|
|
11
11
|
// @ts-ignore Deno can't compile
|
|
12
|
-
process.env
|
|
12
|
+
process.env["QSTASH_NEXT_SIGNING_KEY"];
|
|
13
13
|
if (!nextSigningKey) {
|
|
14
14
|
throw new Error("nextSigningKey is required, either in the config or as env variable QSTASH_NEXT_SIGNING_KEY");
|
|
15
15
|
}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -29,13 +29,13 @@ const receiver_js_1 = require("../pkg/receiver.js");
|
|
|
29
29
|
function verifySignature(handler, config) {
|
|
30
30
|
const currentSigningKey = config?.currentSigningKey ??
|
|
31
31
|
// @ts-ignore Deno can't compile
|
|
32
|
-
process.env
|
|
32
|
+
process.env["QSTASH_CURRENT_SIGNING_KEY"];
|
|
33
33
|
if (!currentSigningKey) {
|
|
34
34
|
throw new Error("currentSigningKey is required, either in the config or as env variable QSTASH_CURRENT_SIGNING_KEY");
|
|
35
35
|
}
|
|
36
36
|
const nextSigningKey = config?.nextSigningKey ??
|
|
37
37
|
// @ts-ignore Deno can't compile
|
|
38
|
-
process.env
|
|
38
|
+
process.env["QSTASH_NEXT_SIGNING_KEY"];
|
|
39
39
|
if (!nextSigningKey) {
|
|
40
40
|
throw new Error("nextSigningKey is required, either in the config or as env variable QSTASH_NEXT_SIGNING_KEY");
|
|
41
41
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/pkg/receiver.d.ts
CHANGED