-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bump starknetjs to 6.7.0 (#219)
* feat: bump starknetjs to 6.6.0 * chore: remove unuse script * chore: add default config * chore: remove patching * chore: update library version * chore: update getStarkName
- Loading branch information
1 parent
bb92d2d
commit a07c3f1
Showing
16 changed files
with
272 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,6 @@ | |
"chai-as-promised": "^7.1.1", | ||
"concurrently": "^7.1.0", | ||
"cross-env": "^7.0.3", | ||
"envify": "^4.1.0", | ||
"eslint": "^8.13.0", | ||
"mocha": "^9.2.2", | ||
"nyc": "^15.1.0", | ||
|
@@ -54,9 +53,10 @@ | |
"dependencies": { | ||
"@metamask/snaps-sdk": "3.0.1", | ||
"async-mutex": "^0.3.2", | ||
"dotenv": "^16.4.5", | ||
"ethereum-unit-converter": "^0.0.17", | ||
"ethers": "^5.5.1", | ||
"starknet": "^5.14.0", | ||
"starknet": "6.7.0", | ||
"starknet_v4.22.0": "npm:[email protected]" | ||
}, | ||
"publishConfig": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import envify from "envify/custom"; | ||
import * as dotenv from "dotenv"; | ||
dotenv.config(); | ||
|
||
module.exports = { | ||
cliOptions: { | ||
dist: 'dist', | ||
outfileName: 'bundle.js', | ||
src: './src/index.ts', | ||
}, | ||
bundlerCustomizer: (bundler) => { | ||
bundler.transform( | ||
envify({ | ||
SNAP_ENV: process.env.SNAP_ENV, | ||
VOYAGER_API_KEY: process.env.VOYAGER_API_KEY, | ||
}), | ||
); | ||
}, | ||
}; | ||
bundler: "webpack", | ||
environment: { | ||
SNAP_ENV: process.env.SNAP_ENV ?? "prod", | ||
VOYAGER_API_KEY: process.env.VOYAGER_API_KEY ?? "", | ||
}, | ||
input: "./src/index.ts", | ||
server: { | ||
port: 8081, | ||
}, | ||
polyfills: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.