Skip to content

Commit b1b6f3c

Browse files
committed
fix(sdk): fix imports from lib move
1 parent 319e2b5 commit b1b6f3c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

packages/sdk/src/checkout/webhooks/outbound.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { hmacSign } from "../crypto.ts";
1+
import { hmacSign } from "../lib/crypto.ts";
22
import type { OrderEventData, WebhookEvent } from "../types.ts";
33

44
export type OutboundConfig = {

packages/sdk/test/signature.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { describe, expect, it } from "vitest";
2-
import { computeSignature, verifySignature } from "../src/checkout/signature";
2+
import {
3+
computeSignature,
4+
verifySignature,
5+
} from "../src/checkout/lib/signature";
36

47
describe("Signature Verification", () => {
58
const secret = "test_secret_key_12345";

0 commit comments

Comments
 (0)