Skip to content

Commit

Permalink
Merge pull request #15 from TradeTrust/fix/axios
Browse files Browse the repository at this point in the history
fix: roll back axios
  • Loading branch information
isaackps committed Mar 18, 2024
2 parents 23b8806 + 8fb79f3 commit f2c8b96
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 31 deletions.
3 changes: 0 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ if (process.env.DEBUG) {
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
moduleNameMapper: {
axios: "axios/dist/node/axios.cjs", // Temporary workaround: Force Jest to import the CommonJS Axios build
},
};
37 changes: 11 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"generator-nod"
],
"dependencies": {
"axios": "^1.6.3",
"axios": "0.21.1",
"debug": "^4.3.1",
"runtypes": "^6.3.0"
},
Expand Down Expand Up @@ -94,4 +94,4 @@
"engines": {
"node": "18.x"
}
}
}
7 changes: 7 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ describe("getDocumentStoreRecords for Hedera", () => {
netId: "295",
type: "openatts",
},
{
addr: "0xB9cf2eFcBeCdF96E6A7E46AECd79A784B41Bcf6B",
dnssec: false,
net: "hedera",
netId: "296",
type: "openatts",
},
{
addr: "0x222B69788e2e9B7FB93a3a0fE258D4604Dc7df21",
dnssec: false,
Expand Down

0 comments on commit f2c8b96

Please sign in to comment.