Skip to content

Commit

Permalink
fix(polyfills): rollback polyfill on logger
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Feb 23, 2024
1 parent c74a135 commit 0cdb2f0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 57 deletions.
34 changes: 0 additions & 34 deletions bundle.cjs

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"name": "@ar-io/sdk",
"version": "0.0.1",
"main": "./lib/index.js",
"types": "./lib/types/index.d.ts",
"main": "./lib/cjs/node/index.js",
"types": "./lib/types/node/index.d.ts",
"module": "./lib/esm/node/index.js",
"browser": "./bundles/web.bundle.min.js",
"type": "module",
"files": [
"lib",
Expand Down Expand Up @@ -96,7 +98,6 @@
"dependencies": {
"arweave": "^1.14.4",
"axios": "1.4.0",
"setimmediate": "^1.0.5",
"warp-contracts": "^1.4.34",
"winston": "^3.11.0"
}
Expand Down
17 changes: 0 additions & 17 deletions src/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// TODO: this is gross, improve polyfill for winston logger
import 'setimmediate';

export * from '../types/index.js';
export * from '../common/index.js';
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7610,7 +7610,7 @@ set-function-name@^2.0.1:
functions-have-names "^1.2.3"
has-property-descriptors "^1.0.0"

setimmediate@^1.0.4, setimmediate@^1.0.5:
setimmediate@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==
Expand Down

0 comments on commit 0cdb2f0

Please sign in to comment.