@upstash/qstash 0.3.1 → 0.3.3

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.
Files changed (52) hide show
  1. package/README.md +4 -0
  2. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/_util/asserts.js +1 -1
  3. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv32.js +1 -1
  4. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv64.js +1 -1
  5. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/index.js +1 -1
  6. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/util.js +1 -1
  7. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/lib/deno_std_wasm_crypto.generated.mjs +631 -630
  8. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/mod.js +1 -1
  9. package/esm/deps/deno.land/{std@0.167.0/crypto/mod.js → std@0.171.0/crypto/crypto.js} +3 -5
  10. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/keystack.js +1 -1
  11. package/esm/deps/deno.land/std@0.171.0/crypto/mod.js +13 -0
  12. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/timing_safe_equal.js +1 -1
  13. package/esm/deps/deno.land/{std@0.167.0/crypto/util.js → std@0.171.0/crypto/to_hash_string.js} +7 -6
  14. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64.js +1 -1
  15. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64url.js +1 -1
  16. package/esm/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/hex.js +1 -1
  17. package/esm/pkg/client/client.js +7 -7
  18. package/package.json +1 -1
  19. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/_util/asserts.js +1 -1
  20. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv32.js +1 -1
  21. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv64.js +1 -1
  22. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/index.js +1 -1
  23. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/util.js +1 -1
  24. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/lib/deno_std_wasm_crypto.generated.mjs +631 -630
  25. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/mod.js +1 -1
  26. package/script/deps/deno.land/{std@0.167.0/crypto/mod.js → std@0.171.0/crypto/crypto.js} +4 -8
  27. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/keystack.js +1 -1
  28. package/script/deps/deno.land/std@0.171.0/crypto/mod.js +29 -0
  29. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/timing_safe_equal.js +1 -1
  30. package/script/deps/deno.land/std@0.171.0/crypto/to_hash_string.js +32 -0
  31. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64.js +1 -1
  32. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64url.js +1 -1
  33. package/script/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/hex.js +1 -1
  34. package/script/pkg/client/client.js +7 -7
  35. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/_util/asserts.d.ts +0 -0
  36. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv32.d.ts +0 -0
  37. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/fnv64.d.ts +0 -0
  38. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/index.d.ts +0 -0
  39. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_fnv/util.d.ts +0 -0
  40. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/lib/deno_std_wasm_crypto.generated.d.mts +0 -0
  41. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/_wasm/mod.d.ts +0 -0
  42. package/types/deps/deno.land/{std@0.167.0/crypto/mod.d.ts → std@0.171.0/crypto/crypto.d.ts} +2 -4
  43. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/keystack.d.ts +0 -0
  44. package/types/deps/deno.land/std@0.171.0/crypto/mod.d.ts +12 -0
  45. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/crypto/timing_safe_equal.d.ts +0 -0
  46. package/types/deps/deno.land/{std@0.167.0/crypto/util.d.ts → std@0.171.0/crypto/to_hash_string.d.ts} +2 -1
  47. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64.d.ts +0 -0
  48. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/base64url.d.ts +0 -0
  49. package/types/deps/deno.land/{std@0.167.0 → std@0.171.0}/encoding/hex.d.ts +0 -0
  50. package/types/pkg/client/messages.d.ts +1 -1
  51. package/types/pkg/receiver.d.ts +1 -1
  52. package/script/deps/deno.land/std@0.167.0/crypto/util.js +0 -54
package/README.md CHANGED
@@ -95,6 +95,10 @@ const r = new Receiver({
95
95
  const isValid = await r.verify({
96
96
  /**
97
97
  * The signature from the `Upstash-Signature` header.
98
+ *
99
+ * Please note that on some platforms (e.g. Vercel or Netlify) you might
100
+ * receive the header in lower case: `upstash-signature`
101
+ *
98
102
  */
99
103
  signature: "string";
100
104
 
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * All internal non-test code, that is files that do not have `test` or `bench` in the name, must use the assertion functions within `_utils/asserts.ts` and not `testing/asserts.ts`. This is to create a separation of concerns between internal and testing assertions.
@@ -2,7 +2,7 @@
2
2
  // https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go
3
3
  // Copyright 2011 The Go Authors. All rights reserved. BSD license.
4
4
  // https://github.com/golang/go/blob/master/LICENSE
5
- // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
5
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
6
6
  // This module is browser compatible.
7
7
  import { mul32, swap32 } from "./util.js";
8
8
  const prime32 = 16777619;
@@ -2,7 +2,7 @@
2
2
  // https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go
3
3
  // Copyright 2011 The Go Authors. All rights reserved. BSD license.
4
4
  // https://github.com/golang/go/blob/master/LICENSE
5
- // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
5
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
6
6
  // This module is browser compatible.
7
7
  import { mul64, swap32 } from "./util.js";
8
8
  const prime64Lo = 435;
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { fnv32, fnv32a } from "./fnv32.js";
4
4
  import { fnv64, fnv64a } from "./fnv64.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  export function swap32(val) {
4
4
  return (((val & 0xff) << 24) |