Skip to content

Next version #1143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
31ff306
test: add coverage option (#1131)
PhilippeR26 May 21, 2024
12fd0f8
docs: jsdoc adds (#1133)
PhilippeR26 May 31, 2024
70a6dab
Chore/replace enums with companion pattern approach (#1083)
lukasaric May 31, 2024
11a3a66
refactor: remove functions useful for deprecated sequencer
PhilippeR26 Jun 3, 2024
75ca2a9
refactor: starknetid contracts on sepolia & remove old code (#1139)
irisdv Jun 3, 2024
ba8ed63
Merge pull request #1141 from PhilippeR26/provider-util-cleaning
tabaktoni Jun 3, 2024
5346875
fix: remove default from computeHintedClassHash to be able to export …
PhilippeR26 Jun 4, 2024
de47bad
docs: utils/num docs (#1132)
dsperac Jun 4, 2024
54fde47
docs: updated verious util function docs, added tests, refactoring (#…
dsperac Jun 5, 2024
e816a8d
fix: export abi types
tabaktoni Jun 5, 2024
8e9d58c
Merge branch 'next-version' into fix/export-abi-types
tabaktoni Jun 5, 2024
23e6887
clanup
tabaktoni Jun 5, 2024
38cc55f
Merge pull request #1145 from starknet-io/fix/export-abi-types
tabaktoni Jun 5, 2024
cb5fc29
fix: types-js (#1147)
tabaktoni Jun 7, 2024
c574948
Dep/types js (#1153)
tabaktoni Jun 10, 2024
2c68cfe
docs: merkle and selector docs/tests (#1152)
dsperac Jun 10, 2024
2071380
chore: remove obsolete folder (#1149)
bodhi-crypo Jun 11, 2024
223a58f
Fix: public responseParser (#1154)
tabaktoni Jun 11, 2024
506402f
BUG: Nested events not handled (#1140)
PhilippeR26 Jun 12, 2024
247ede1
feat: add handling of nonZero type (#1150)
PhilippeR26 Jun 13, 2024
1ad15af
Guide for wallet account (#1156)
PhilippeR26 Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
"node": true,
"jest": true
},
"extends": ["airbnb-base", "airbnb-typescript/base", "prettier", "plugin:prettier/recommended"],
"ignorePatterns": ["tsup.config.ts"],
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"prettier",
"plugin:prettier/recommended"
],
"ignorePatterns": [
"tsup.config.ts"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
Expand All @@ -17,13 +24,24 @@
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"plugins": ["@typescript-eslint"],
"plugins": [
"@typescript-eslint"
],
"rules": {
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"@typescript-eslint/no-redeclare": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-use-before-define": [
"error",
"nofunc"
],
"func-names": 0
}
}
2 changes: 1 addition & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
node-version: lts/*
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm test
- run: npm run test:coverage
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [6.9.0](https://github.com/starknet-io/starknet.js/compare/v6.8.0...v6.9.0) (2024-05-21)

### Bug Fixes

- cannot infer ts2742 types from [email protected] ([#1098](https://github.com/starknet-io/starknet.js/issues/1098)) ([f1c3b8e](https://github.com/starknet-io/starknet.js/commit/f1c3b8e3aeb96f6efb7e512ac3ba689253004c9d))
- remove [warning] from typedoc for external usage ([#1095](https://github.com/starknet-io/starknet.js/issues/1095)) ([195186f](https://github.com/starknet-io/starknet.js/commit/195186fc2974ab0d164b1a48c68f7bf026329df5)), closes [#1121](https://github.com/starknet-io/starknet.js/issues/1121) [#1126](https://github.com/starknet-io/starknet.js/issues/1126)

### Features

- add type coverage ([#1120](https://github.com/starknet-io/starknet.js/issues/1120)) ([eceda5d](https://github.com/starknet-io/starknet.js/commit/eceda5dc1c39e472e1105e07797e76aaac3c1531))
- provider.getL1MessageHash ([#1123](https://github.com/starknet-io/starknet.js/issues/1123)) ([1489cf2](https://github.com/starknet-io/starknet.js/commit/1489cf25e7e8598ab161cecc62c82495f64daa33))

### Reverts

- Revert "chore: add examples to JsDoc for transaction.ts file (#1105)" (#1108) ([59eb01e](https://github.com/starknet-io/starknet.js/commit/59eb01e451cf64dfdacd6d34b2a709e0a1029f15)), closes [#1105](https://github.com/starknet-io/starknet.js/issues/1105) [#1108](https://github.com/starknet-io/starknet.js/issues/1108)

# [6.8.0](https://github.com/starknet-io/starknet.js/compare/v6.7.0...v6.8.0) (2024-04-23)

### Bug Fixes
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ For major changes that markedly transform the existing API or significantly alte
- We’re using [Prettier](https://github.com/prettier/prettier) to format code, so don’t worry much about code formatting.
- Don’t commit generated files, like minified JavaScript.
- Don’t change the version number or changelog.
- Use `npm run test:coverage` for a complete project test coverage.
- Use for example `npm run test:coverage __tests__/utils/uint256.test.ts` for a single file coverage.
- Use `npm run ts:coverage` to check the global type coverage rate and `npm run ts:coverage:report` to generate a complete report (summary displayed in the console, full HTML report available in the `coverage-ts` folder by launching `./coverage-ts/index.html` in your browser) and find files having low coverage.

## Need help?
Expand Down
Loading