Skip to content

Commit a2647f3

Browse files
authored
Merge pull request #947 from starknet-io/develop-to-beta
2 parents 7e10e53 + 09bd994 commit a2647f3

File tree

132 files changed

+1582
-112377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+1582
-112377
lines changed

.github/workflows/_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
name: Run release
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
with:
2525
ref: ${{ github.ref }}
26-
- uses: actions/setup-node@v3
26+
- uses: actions/setup-node@v4
2727
with:
2828
node-version: lts/*
2929
cache: 'npm'

.github/workflows/_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232

3333
steps:
3434
- run: echo ${{ secrets.TEST_RPC_URL }}
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-node@v3
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-node@v4
3737
with:
3838
node-version: lts/*
3939
cache: 'npm'

.github/workflows/manual-docs-version-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Documentation build
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
1717
node-version: lts/*
1818
cache: 'npm'
@@ -33,7 +33,7 @@ jobs:
3333
git add www/versioned_docs www/versioned_sidebars www/versions.json
3434
git checkout .
3535
- name: Create pull request
36-
uses: peter-evans/create-pull-request@v5
36+
uses: peter-evans/create-pull-request@v6
3737
with:
3838
branch: ci/docs-version
3939
committer: CI <noreply@github.com>

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# [5.29.0](https://github.com/starknet-io/starknet.js/compare/v5.28.0...v5.29.0) (2024-02-02)
2+
3+
### Features
4+
5+
- add provider.decodeParameters ([39595f3](https://github.com/starknet-io/starknet.js/commit/39595f3303204b273fadd53764c59767ce6c5b36))
6+
7+
# [5.28.0](https://github.com/starknet-io/starknet.js/compare/v5.27.0...v5.28.0) (2024-02-01)
8+
9+
### Features
10+
11+
- expand structured data hashing in line with SNIP-12 ([#920](https://github.com/starknet-io/starknet.js/issues/920)) ([cb20590](https://github.com/starknet-io/starknet.js/commit/cb2059039e3b42501cdfefec7802da83eb73645b))
12+
13+
# [5.27.0](https://github.com/starknet-io/starknet.js/compare/v5.26.1...v5.27.0) (2024-01-23)
14+
15+
### Features
16+
17+
- trigger release ([fbf983f](https://github.com/starknet-io/starknet.js/commit/fbf983f7820768f919cddb2c5806178a20e38bdd))
18+
19+
## [5.26.1](https://github.com/starknet-io/starknet.js/compare/v5.26.0...v5.26.1) (2024-01-18)
20+
21+
### Bug Fixes
22+
23+
- move abiwan from dev dependencies to regular dependencies ([#925](https://github.com/starknet-io/starknet.js/issues/925)) ([6b7ee49](https://github.com/starknet-io/starknet.js/commit/6b7ee49918d704f8143f51ab7a0360446ea4cf5e))
24+
25+
# [5.26.0](https://github.com/starknet-io/starknet.js/compare/v5.25.0...v5.26.0) (2024-01-15)
26+
27+
### Features
28+
29+
- abi-wan trigger ([c10150a](https://github.com/starknet-io/starknet.js/commit/c10150a328051054a7bba1260296c0c92fdd2051))
30+
131
# [6.0.0-beta.13](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.12...v6.0.0-beta.13) (2024-01-23)
232

333
### Bug Fixes

FUNDING.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"drips": {
3+
"ethereum": {
4+
"ownedBy": "0x0360D2E7A038388D6DAdcaD933Ef0881550FcD75"
5+
}
6+
}
7+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you consider to contribute to this project please read [CONTRIBUTING.md](http
6464

6565
Special thanks to all the [contributors](https://github.com/starknet-io/starknet.js/graphs/contributors), especially to:
6666

67-
- Sean ([@0xs34n](https://github.com/0xs34n)), the original creator of Straknet.js!
67+
- Sean ([@0xs34n](https://github.com/0xs34n)), the original creator of Starknet.js!
6868

6969
- Janek ([@janek26](https://github.com/janek26)) and Dhruv ([@dhruvkelawala](https://github.com/dhruvkelawala)) from [Argent](https://github.com/argentlabs)
7070

__mocks__/cairo/helloCairo2/hellocairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ mod HelloStarknet {
478478
}
479479
}
480480

481-
// return Option<litteral>
481+
// return Option<literal>
482482
fn option_u8_output(self: @ContractState, val1: u8) -> Option<u8> {
483483
if val1 < 100 {
484484
return Option::None(());
File renamed without changes.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"types": {
3+
"StarknetDomain": [
4+
{ "name": "name", "type": "shortstring" },
5+
{ "name": "version", "type": "shortstring" },
6+
{ "name": "chainId", "type": "shortstring" },
7+
{ "name": "revision", "type": "shortstring" }
8+
],
9+
"Example": [
10+
{ "name": "n0", "type": "felt" },
11+
{ "name": "n1", "type": "bool" },
12+
{ "name": "n2", "type": "string" },
13+
{ "name": "n3", "type": "selector" },
14+
{ "name": "n4", "type": "u128" },
15+
{ "name": "n5", "type": "ContractAddress" },
16+
{ "name": "n6", "type": "ClassHash" },
17+
{ "name": "n7", "type": "timestamp" },
18+
{ "name": "n8", "type": "shortstring" }
19+
]
20+
},
21+
"primaryType": "Example",
22+
"domain": {
23+
"name": "StarkNet Mail",
24+
"version": "1",
25+
"chainId": "1",
26+
"revision": "1"
27+
},
28+
"message": {
29+
"n0": "0x3e8",
30+
"n1": true,
31+
"n2": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
32+
"n3": "transfer",
33+
"n4": "0x3e8",
34+
"n5": "0x3e8",
35+
"n6": "0x3e8",
36+
"n7": 1000,
37+
"n8": "transfer"
38+
}
39+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"types": {
3+
"StarknetDomain": [
4+
{ "name": "name", "type": "shortstring" },
5+
{ "name": "version", "type": "shortstring" },
6+
{ "name": "chainId", "type": "shortstring" },
7+
{ "name": "revision", "type": "shortstring" }
8+
],
9+
"Example": [{ "name": "someEnum", "type": "enum", "contains": "MyEnum" }],
10+
"MyEnum": [
11+
{ "name": "Variant 1", "type": "()" },
12+
{ "name": "Variant 2", "type": "(u128,u128*)" },
13+
{ "name": "Variant 3", "type": "(u128)" }
14+
]
15+
},
16+
"primaryType": "Example",
17+
"domain": {
18+
"name": "StarkNet Mail",
19+
"version": "1",
20+
"chainId": "1",
21+
"revision": "1"
22+
},
23+
"message": {
24+
"someEnum": {
25+
"Variant 2": [2, [0, 1]]
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)