Skip to content

Commit

Permalink
Payments: Minor bug fix package.json import (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
IDubuque authored Jan 9, 2024
1 parent f953c72 commit b3cf65b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-needles-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/payments": patch
---

Minor bug fix importing package.json
3 changes: 1 addition & 2 deletions packages/payments/src/lib/CreatePaymentElement.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// CHANGED: packageJson import + version string
// eslint-disable-next-line @typescript-eslint/no-var-requires, better-tree-shaking/no-top-level-side-effects
const packageJson = require("../package.json");
import packageJson from "../../package.json";

export interface PaperPaymentElementConstructorArgs {
onLoad?: (event?: Event) => void;
Expand Down

0 comments on commit b3cf65b

Please sign in to comment.