Skip to content

Commit d47f04c

Browse files
committed
chore: fix conflicts
2 parents a322aea + 04b242f commit d47f04c

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.12.9](https://github.com/adobe-rnd/helix-commerce-api/compare/v1.12.8...v1.12.9) (2025-02-21)
2+
3+
4+
### Bug Fixes
5+
6+
* refactor ([#79](https://github.com/adobe-rnd/helix-commerce-api/issues/79)) ([9128220](https://github.com/adobe-rnd/helix-commerce-api/commit/912822009b5574b78e366a1148a55bcb07b60bd0))
7+
18
## [1.12.8](https://github.com/adobe-rnd/helix-commerce-api/compare/v1.12.7...v1.12.8) (2025-02-05)
29

310

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helix-commerce-api",
3-
"version": "1.12.8",
3+
"version": "1.12.9",
44
"private": true,
55
"description": "API for markup content and a commerce graphql commerce proxy",
66
"main": "src/index.js",

src/types.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ declare global {
204204
export interface Env {
205205
VERSION: string;
206206
ENVIRONMENT: string;
207+
SUPERUSER_KEY: string;
207208

208209
// KV namespaces
209210
CONFIGS: KVNamespace<string>;

src/utils/auth.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export async function assertAuthorization(ctx) {
2929
if (!actual) {
3030
throw errorWithResponse(403, 'invalid key');
3131
}
32+
3233
const expected = await ctx.env.KEYS.get(ctx.config.siteKey);
3334
if (!expected) {
3435
throw errorWithResponse(403, 'no key found for site');

0 commit comments

Comments
 (0)