From cbead9b3ddb375853a424248d412d6725439e7ed Mon Sep 17 00:00:00 2001 From: Steven Lee Date: Fri, 12 Apr 2024 14:23:58 -0700 Subject: [PATCH] Remove ESM support for now --- package.json | 3 +-- src/indexer/updater.ts | 2 +- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6ec5ca0..d77963f 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "@magiceden-oss/runestone-lib", - "version": "0.4.2-alpha", + "version": "0.4.3-alpha", "description": "", "main": "./dist/index.js", "types": "./dist/index.d.ts", - "type": "module", "scripts": { "test": "jest", "build": "tsc -p tsconfig.json", diff --git a/src/indexer/updater.ts b/src/indexer/updater.ts index 037dab2..f7b5c14 100644 --- a/src/indexer/updater.ts +++ b/src/indexer/updater.ts @@ -1,4 +1,4 @@ -import assert from 'node:assert/strict'; +import * as assert from 'node:assert/strict'; import { Artifact, isRunestone } from '../artifact'; import { COMMIT_INTERVAL, diff --git a/tsconfig.json b/tsconfig.json index 1cefa23..0594ea4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "moduleResolution": "node", "sourceMap": true, "inlineSourceMap": false, - "esModuleInterop": true, + "esModuleInterop": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "composite": true,