Skip to content

Commit 8789821

Browse files
committed
chore: rebase
2 parents 009d16d + 40c0b33 commit 8789821

File tree

138 files changed

+1798
-112374
lines changed

Some content is hidden

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

138 files changed

+1798
-112374
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: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
# [6.0.0-beta.14](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.13...v6.0.0-beta.14) (2024-02-02)
2+
3+
### Bug Fixes
4+
5+
- 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))
6+
7+
### Features
8+
9+
- abi-wan trigger ([c10150a](https://github.com/starknet-io/starknet.js/commit/c10150a328051054a7bba1260296c0c92fdd2051))
10+
- add provider.decodeParameters ([39595f3](https://github.com/starknet-io/starknet.js/commit/39595f3303204b273fadd53764c59767ce6c5b36))
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+
- trigger release ([fbf983f](https://github.com/starknet-io/starknet.js/commit/fbf983f7820768f919cddb2c5806178a20e38bdd))
13+
14+
# [5.29.0](https://github.com/starknet-io/starknet.js/compare/v5.28.0...v5.29.0) (2024-02-02)
15+
16+
### Features
17+
18+
- add provider.decodeParameters ([39595f3](https://github.com/starknet-io/starknet.js/commit/39595f3303204b273fadd53764c59767ce6c5b36))
19+
20+
# [5.28.0](https://github.com/starknet-io/starknet.js/compare/v5.27.0...v5.28.0) (2024-02-01)
21+
22+
### Features
23+
24+
- 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))
25+
26+
# [5.27.0](https://github.com/starknet-io/starknet.js/compare/v5.26.1...v5.27.0) (2024-01-23)
27+
28+
### Features
29+
30+
- trigger release ([fbf983f](https://github.com/starknet-io/starknet.js/commit/fbf983f7820768f919cddb2c5806178a20e38bdd))
31+
32+
## [5.26.1](https://github.com/starknet-io/starknet.js/compare/v5.26.0...v5.26.1) (2024-01-18)
33+
34+
### Bug Fixes
35+
36+
- 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))
37+
38+
# [5.26.0](https://github.com/starknet-io/starknet.js/compare/v5.25.0...v5.26.0) (2024-01-15)
39+
40+
### Features
41+
42+
- abi-wan trigger ([c10150a](https://github.com/starknet-io/starknet.js/commit/c10150a328051054a7bba1260296c0c92fdd2051))
43+
144
# [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)
245

346
### 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/cairo240/string.ts

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
export const ABI = [
2+
{
3+
type: 'impl',
4+
name: 'TestReject',
5+
interface_name: 'string::string::ITestReject',
6+
},
7+
{
8+
type: 'struct',
9+
name: 'core::byte_array::ByteArray',
10+
members: [
11+
{
12+
name: 'data',
13+
type: 'core::array::Array::<core::bytes_31::bytes31>',
14+
},
15+
{
16+
name: 'pending_word',
17+
type: 'core::felt252',
18+
},
19+
{
20+
name: 'pending_word_len',
21+
type: 'core::integer::u32',
22+
},
23+
],
24+
},
25+
{
26+
type: 'interface',
27+
name: 'string::string::ITestReject',
28+
items: [
29+
{
30+
type: 'function',
31+
name: 'proceed_bytes31',
32+
inputs: [
33+
{
34+
name: 'str',
35+
type: 'core::bytes_31::bytes31',
36+
},
37+
],
38+
outputs: [
39+
{
40+
type: 'core::bytes_31::bytes31',
41+
},
42+
],
43+
state_mutability: 'view',
44+
},
45+
{
46+
type: 'function',
47+
name: 'get_string',
48+
inputs: [],
49+
outputs: [
50+
{
51+
type: 'core::byte_array::ByteArray',
52+
},
53+
],
54+
state_mutability: 'view',
55+
},
56+
{
57+
type: 'function',
58+
name: 'proceed_string',
59+
inputs: [
60+
{
61+
name: 'mess',
62+
type: 'core::byte_array::ByteArray',
63+
},
64+
],
65+
outputs: [
66+
{
67+
type: 'core::byte_array::ByteArray',
68+
},
69+
],
70+
state_mutability: 'view',
71+
},
72+
],
73+
},
74+
{
75+
type: 'event',
76+
name: 'string::string::MyTestReject::Event',
77+
kind: 'enum',
78+
variants: [],
79+
},
80+
] as const;

__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+
}

0 commit comments

Comments
 (0)