File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " web3-api " ,
2
+ "name" : " engine " ,
3
3
"version" : " 0.1.0" ,
4
4
"license" : " Apache-2.0" ,
5
5
"description" : " thirdweb Engine" ,
52
52
"cookie-parser" : " ^1.4.6" ,
53
53
"copyfiles" : " ^2.4.1" ,
54
54
"cron-parser" : " ^4.9.0" ,
55
+ "crypto" : " ^1.0.1" ,
55
56
"crypto-js" : " ^4.2.0" ,
56
57
"dotenv" : " ^16.0.3" ,
57
58
"ethers" : " 5" ,
Original file line number Diff line number Diff line change
1
+ import "./polyfill" ;
1
2
import { initServer } from "./server" ;
2
3
import { initWorker } from "./worker" ;
3
4
Original file line number Diff line number Diff line change
1
+ import * as crypto from "crypto" ;
2
+
3
+ if ( typeof globalThis . crypto === "undefined" ) {
4
+ ( globalThis as any ) . crypto = crypto ;
5
+ }
Original file line number Diff line number Diff line change @@ -5466,7 +5466,7 @@ crypto-js@^4.2.0:
5466
5466
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631"
5467
5467
integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==
5468
5468
5469
- crypto@1.0.1 :
5469
+ crypto@1.0.1, crypto@^1.0.1 :
5470
5470
version "1.0.1"
5471
5471
resolved "https://registry.yarnpkg.com/crypto/-/crypto-1.0.1.tgz#2af1b7cad8175d24c8a1b0778255794a21803037"
5472
5472
integrity sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==
You can’t perform that action at this time.
0 commit comments