punkkit-sdk 1.0.11 → 1.0.12

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/dist/index.js CHANGED
@@ -31987,7 +31987,7 @@ async function buildAuctionCreatedTx({
31987
31987
  };
31988
31988
  return tx;
31989
31989
  }
31990
- if (require.main === module) {
31990
+ if (typeof require !== "undefined" && typeof module !== "undefined" && require.main === module) {
31991
31991
  const stauts = 1;
31992
31992
  const gasUsed = BigInt(21e3);
31993
31993
  const gasPrice = BigInt(21e3);
package/dist/index.mjs CHANGED
@@ -31948,7 +31948,7 @@ async function buildAuctionCreatedTx({
31948
31948
  };
31949
31949
  return tx;
31950
31950
  }
31951
- if (__require.main === module) {
31951
+ if (typeof __require !== "undefined" && typeof module !== "undefined" && __require.main === module) {
31952
31952
  const stauts = 1;
31953
31953
  const gasUsed = BigInt(21e3);
31954
31954
  const gasPrice = BigInt(21e3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "punkkit-sdk",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "devDependencies": {
5
5
  "@nomicfoundation/hardhat-chai-matchers": "1.0.2",
6
6
  "@nomicfoundation/hardhat-network-helpers": "^1.1.2",