-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1353 from near/feat/bundling-enhancements
feat: modularization and bundling enhancements
- Loading branch information
Showing
168 changed files
with
4,312 additions
and
6,390 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
"@near-js/accounts": minor | ||
"@near-js/biometric-ed25519": minor | ||
"@near-js/crypto": minor | ||
"@near-js/iframe-rpc": minor | ||
"@near-js/keystores": minor | ||
"@near-js/keystores-browser": minor | ||
"@near-js/keystores-node": minor | ||
"near-api-js": major | ||
"@near-js/providers": major | ||
"@near-js/signers": minor | ||
"@near-js/transactions": minor | ||
"@near-js/types": minor | ||
"@near-js/utils": major | ||
"@near-js/wallet-account": minor | ||
--- | ||
|
||
Update to Node.js 20 LTS & pnpm 9.4, modularize packages, simplify dependencies, and update tests | ||
|
||
**Breaking Changes** | ||
|
||
- `near-api-js@5.0.0` | ||
- The following functions are no longer exported: | ||
- `logWarning` | ||
- `fetchJson` | ||
- the unnamed wrapped `fetch` function exported from `setup-node-fetch.ts` | ||
- The browser bundle is no longer being built in version 5; for browser support please use modules | ||
|
||
- `@near-js/providers@1.0.0` | ||
- The following functions are no longer exported: | ||
- `fetchJson` | ||
|
||
- `@near-js/utils@1.0.0` | ||
- The following functions are no longer exported: | ||
- `logWarning` |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default { | ||
preset: 'ts-jest', | ||
collectCoverage: true, | ||
testEnvironment: 'node', | ||
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$", | ||
transform: { | ||
'^.+\\.[tj]s$': ['ts-jest', { | ||
tsconfig: { | ||
allowJs: 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
Oops, something went wrong.