Skip to content

Commit 9aacf06

Browse files
authored
chore!: new major version (#35)
BREAKING CHANGE: RPC Specification 0.8.1
1 parent 95720c9 commit 9aacf06

18 files changed

+1771
-382
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
publish:
3737
runs-on: ubuntu-latest
38-
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' }}
38+
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' }}
3939
needs: [quality]
4040
steps:
4141
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 109 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
1-
## [0.7.10](https://github.com/starknet-io/types-js/compare/v0.7.9...v0.7.10) (2024-11-28)
1+
2+
# [0.8.0-beta.11](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.10...v0.8.0-beta.11) (2025-04-10)
23

34

5+
## [0.7.10](https://github.com/starknet-io/types-js/compare/v0.7.9...v0.7.10) (2024-11-28)
6+
47
### Bug Fixes
58

9+
* remove unused errors ([5093b77](https://github.com/starknet-io/types-js/commit/5093b7725f1b773194c61a751b9adafeb3f32001))
10+
* update rpc 8.0 ([#34](https://github.com/starknet-io/types-js/issues/34)) ([026ecb6](https://github.com/starknet-io/types-js/commit/026ecb6150dce902113ffd02ba15fa89633a8929))
11+
12+
# [0.8.0-beta.10](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.9...v0.8.0-beta.10) (2025-02-15)
13+
* issue [#20](https://github.com/starknet-io/types-js/issues/20) ([#27](https://github.com/starknet-io/types-js/issues/27)) ([d702721](https://github.com/starknet-io/types-js/commit/d702721aad8ae21e898dcb2a1409b5bbb42fc2d9))
14+
615
* issue [#20](https://github.com/starknet-io/types-js/issues/20) ([#27](https://github.com/starknet-io/types-js/issues/27)) ([d702721](https://github.com/starknet-io/types-js/commit/d702721aad8ae21e898dcb2a1409b5bbb42fc2d9))
716

817
## [0.7.9](https://github.com/starknet-io/types-js/compare/v0.7.8...v0.7.9) (2024-11-27)
918

1019

1120
### Bug Fixes
1221

22+
* add excplusive OneOf to the most of the unions, TRANSACTION_TRACE should be fixed if spec is correct ([d4dda7e](https://github.com/starknet-io/types-js/commit/d4dda7e456c5d0ecc189c213e0e9dfed563a472f))
23+
24+
# [0.8.0-beta.9](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.8...v0.8.0-beta.9) (2025-02-15)
25+
1326
* trigger release, fix readme ([675777a](https://github.com/starknet-io/types-js/commit/675777a0ddcb5497812a6a48076534ebfd4e1f81))
1427

1528
## [0.7.8](https://github.com/starknet-io/types-js/compare/v0.7.7...v0.7.8) (2024-11-22)
@@ -22,6 +35,11 @@
2235

2336
### Bug Fixes
2437

38+
39+
* export all from executable ([175e8ab](https://github.com/starknet-io/types-js/commit/175e8aba665688a26feb8e4042ebd395c6395a55))
40+
41+
# [0.8.0-beta.8](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.7...v0.8.0-beta.8) (2025-02-15)
42+
2543
- new export, lint ([#25](https://github.com/starknet-io/types-js/issues/25)) ([4cfe411](https://github.com/starknet-io/types-js/commit/4cfe411d7ee117c9e3dfaa79807c9a62a1251a6f))
2644

2745
## [0.7.7](https://github.com/starknet-io/types-js/compare/v0.7.6...v0.7.7) (2024-06-10)
@@ -30,10 +48,100 @@
3048

3149
- export all from abi ([#16](https://github.com/starknet-io/types-js/issues/16)) ([8dcc198](https://github.com/starknet-io/types-js/commit/8dcc198526d6561ce967407aa2ca68e378e2c300))
3250

51+
3352
## [0.7.6](https://github.com/starknet-io/types-js/compare/v0.7.5...v0.7.6) (2024-06-07)
3453

3554
### Bug Fixes
3655

56+
57+
* export CompiledCasm response type, add logo svg ([5a019eb](https://github.com/starknet-io/types-js/commit/5a019ebc8f5d15c55b42a0a81c62da2cab43910d))
58+
* transaction receipt block info properties ([edc9e25](https://github.com/starknet-io/types-js/commit/edc9e25cf9c13e409d43f7b1c01758fde9788f5b))
59+
60+
61+
### Features
62+
63+
* narrow filter for transaction receipts ([38ead6a](https://github.com/starknet-io/types-js/commit/38ead6a51daa39cab67de06e634a5222cb83f92e))
64+
* narrow filter for transaction receipts ([3471b55](https://github.com/starknet-io/types-js/commit/3471b55cbe650b54f24000308ccaf116ba66f494))
65+
66+
# [0.8.0-beta.7](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.6...v0.8.0-beta.7) (2025-02-10)
67+
68+
69+
### Bug Fixes
70+
71+
* readme beta install path ([51a6174](https://github.com/starknet-io/types-js/commit/51a61746d2935e16271c2963f37f614d3e37b6c4))
72+
* split ws and https methods ([669f003](https://github.com/starknet-io/types-js/commit/669f003aea2ddae9fcc166e957dcc74995fdf646))
73+
74+
# [0.8.0-beta.6](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.5...v0.8.0-beta.6) (2025-02-06)
75+
76+
77+
### Bug Fixes
78+
79+
* Spec rc3 ([5ec8eac](https://github.com/starknet-io/types-js/commit/5ec8eac31250beb6822f87319e3d4e21cf8b78a7))
80+
81+
# [0.8.0-beta.5](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.4...v0.8.0-beta.5) (2025-02-06)
82+
83+
84+
### Bug Fixes
85+
86+
* update to spec 0.8-rc2, deprecate <v3 transactions ([1bc1339](https://github.com/starknet-io/types-js/commit/1bc1339041b5b17739cb5444632be6661a8c367f))
87+
88+
# [0.8.0-beta.4](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.3...v0.8.0-beta.4) (2024-11-26)
89+
90+
### Bug Fixes
91+
92+
- beta update ([d10b199](https://github.com/starknet-io/types-js/commit/d10b199346dedda1f37073405cef428f46d63a7d))
93+
94+
# [0.8.0-beta.3](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.2...v0.8.0-beta.3) (2024-11-26)
95+
96+
### Bug Fixes
97+
98+
- spec to 0.8.0 rc1 ([faa86db](https://github.com/starknet-io/types-js/commit/faa86db6c67124deccbbe3daf6687352627fbe28))
99+
100+
# [0.8.0-beta.2](https://github.com/starknet-io/types-js/compare/v0.8.0-beta.1...v0.8.0-beta.2) (2024-11-25)
101+
102+
### Bug Fixes
103+
104+
- proposed changes on exports ([#23](https://github.com/starknet-io/types-js/issues/23)) ([5e966b9](https://github.com/starknet-io/types-js/commit/5e966b90126d5054bf519f09575271d04e4ffc25))
105+
- Update spec to 0.8.0 rc1 ([#22](https://github.com/starknet-io/types-js/issues/22)) ([8016199](https://github.com/starknet-io/types-js/commit/80161996d4f072e36a6f65f50ca58a57bd4b0d0a))
106+
107+
# [0.8.0-beta.1](https://github.com/starknet-io/types-js/compare/v0.7.7...v0.8.0-beta.1) (2024-10-28)
108+
109+
### Features
110+
111+
- beta release ([e830783](https://github.com/starknet-io/types-js/commit/e830783ed5501d6b78ed737c229a132b16f91a39))
112+
- rpc spec 0.8.rc0 implementation, with known issues ([#19](https://github.com/starknet-io/types-js/issues/19)) ([d0bc541](https://github.com/starknet-io/types-js/commit/d0bc54162ef42c39a0665c7fc76b2e7fb4c22b80))
113+
* trigger release, fix readme ([675777a](https://github.com/starknet-io/types-js/commit/675777a0ddcb5497812a6a48076534ebfd4e1f81))
114+
115+
## [0.7.8](https://github.com/starknet-io/types-js/compare/v0.7.7...v0.7.8) (2024-11-22)
116+
117+
### Bug Fixes
118+
119+
- package, alpha -> main ([#26](https://github.com/starknet-io/types-js/issues/26)) ([39f80e9](https://github.com/starknet-io/types-js/commit/39f80e9ce4ca1cf5db97444cd5f91b5fb9a4e694)), closes [#25](https://github.com/starknet-io/types-js/issues/25) [#25](https://github.com/starknet-io/types-js/issues/25)
120+
121+
## [0.7.8-alpha.1](https://github.com/starknet-io/types-js/compare/v0.7.7...v0.7.8-alpha.1) (2024-11-19)
122+
123+
### Bug Fixes
124+
125+
- new export, lint ([#25](https://github.com/starknet-io/types-js/issues/25)) ([4cfe411](https://github.com/starknet-io/types-js/commit/4cfe411d7ee117c9e3dfaa79807c9a62a1251a6f))
126+
127+
## [0.7.7](https://github.com/starknet-io/types-js/compare/v0.7.6...v0.7.7) (2024-06-10)
128+
129+
### Bug Fixes
130+
131+
- export all from abi ([#16](https://github.com/starknet-io/types-js/issues/16)) ([8dcc198](https://github.com/starknet-io/types-js/commit/8dcc198526d6561ce967407aa2ca68e378e2c300))
132+
133+
## [0.7.6](https://github.com/starknet-io/types-js/compare/v0.7.5...v0.7.6) (2024-06-07)
134+
135+
### Bug Fixes
136+
137+
- simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))
138+
139+
## [0.7.5](https://github.com/starknet-io/types-js/compare/v0.7.4...v0.7.5) (2024-06-05)
140+
141+
### Bug Fixes
142+
143+
- export abi internals ([#11](https://github.com/starknet-io/types-js/issues/11)) ([d22b5de](https://github.com/starknet-io/types-js/commit/d22b5decb6847ad70738ba7ea60de01281760427))
144+
37145
- simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))
38146

39147
## [0.7.5](https://github.com/starknet-io/types-js/compare/v0.7.4...v0.7.5) (2024-06-05)

README.md

Lines changed: 54 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,60 @@
1-
# Starknet types JS/TS
1+
<p align="center">
2+
<img width='300' src="https://raw.githubusercontent.com/starknet-io/types-js/9c98311bfdeda3440b0d65d2eaa3c5869ddedcab/types%20js%20logo.png">
3+
</p>
4+
<p align="center">
5+
<a href="https://github.com/starknet-io/types-js/actions/workflows/publish.yml">
6+
<img src="https://github.com/starknet-io/types-js/actions/workflows/publish.yml/badge.svg">
7+
</a>
8+
<a href="https://www.npmjs.com/package/@starknet-io/types-js">
9+
<img src='https://img.shields.io/npm/v/%40starknet-io%2Ftypes-js' />
10+
</a>
11+
<a href="https://www.npmjs.com/package/@starknet-io/types-js">
12+
<img src='https://img.shields.io/npm/v/%40starknet-io%2Ftypes-js/beta' />
13+
</a>
14+
<a href="https://bundlephobia.com/package/%40starknet-io%2Ftypes-js">
15+
<img src='https://img.shields.io/bundlephobia/minzip/%40starknet-io%2Ftypes-js?color=success&label=size' />
16+
</a>
17+
<a href="https://www.npmjs.com/package/%40starknet-io%2Ftypes-js">
18+
<img src='https://img.shields.io/npm/dt/%40starknet-io%2Ftypes-js?color=blueviolet' />
19+
</a>
20+
<a href="https://github.com/starknet-io/types-js/blob/main/LICENSE/">
21+
<img src="https://img.shields.io/badge/license-MIT-black">
22+
</a>
23+
<a href="https://github.com/starknet-io/%40starknet-io%2Ftypes-js/stargazers">
24+
<img src='https://img.shields.io/github/stars/starknet-io/types-js?color=yellow' />
25+
</a>
26+
<a href="https://starkware.co/">
27+
<img src="https://img.shields.io/badge/powered_by-StarkWare-navy">
28+
</a>
29+
<a href="https://twitter.com/starknetjs">
30+
<img src="https://img.shields.io/badge/follow_us-Twitter-blue">
31+
</a>
32+
<a href="https://www.drips.network/app/projects/github/starknet-io/starknet.js" target="_blank">
33+
<img src="https://www.drips.network/api/embed/project/https%3A%2F%2Fgithub.com%2Fstarknet-io%2Fstarknet.js/support.png?background=light&style=github&text=project&stat=none" alt="Support starknet.js on drips.network" height="20">
34+
</a>
35+
<a href="https://github.com/starknet-io/types-js/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22">
36+
<img src="https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square">
37+
</a>
38+
</p>
39+
40+
<p align="center">
41+
🐺 Starknet TypeScript types 🚀 definitions for Starknet projects
42+
</p>
243

3-
🐺 Starknet TypeScript types 🚀
44+
## Installation
445

5-
[![GitHub Workflow Status](https://github.com/starknet-io/types-js/actions/workflows/publish.yml/badge.svg)](https://github.com/starknet-io/types-js/actions/workflows/publish.yml)
6-
[![Project license](https://img.shields.io/github/license/starknet-io/types-js.svg?style=flat-square)](LICENSE)
7-
[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/starknet-io/types-js/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
46+
RPC 0.7 - Latest
847

9-
Shared TypeScript type definitions for Starknet projects
48+
```bash
49+
npm i @starknet-io/types-js
50+
```
1051

11-
## Installation
52+
RPC 0.8 (rc3) - Beta
1253

1354
RPC 0.7 - Latest
1455

1556
```bash
16-
npm i @starknet-io/types-js
57+
npm i @starknet-io/types-js@beta
1758
```
1859

1960
RPC 0.8 (rc3) - Beta
@@ -42,15 +83,15 @@ import type { SomeWalletApiType } from '@starknet-io/types-js';
4283
import { WALLET_API } from '@starknet-io/types-js';
4384
```
4485

45-
##### SNIP-12 [Hashing and signing typed structured data](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md)
86+
##### SNIPs [StarkNet Improvement Proposals](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-1.md)
4687

47-
- /src/wallet-api/typedData.ts
88+
- [SNIP-12 Hashing and signing typed structured data](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md) - [/src/wallet-api/typedData.ts](https://github.com/starknet-io/types-js/blob/main/src/wallet-api/typedData.ts)
4889

4990
## Versioning
5091

51-
(MAJOR.MINOR) Version of this package follow [starknet-spec](https://github.com/starkware-libs/starknet-specs) semantic versioning. PATCH version can diverge based on bug-fixes.
52-
`Starknet types v0.7 <-> Starknet Spec v0.7`
53-
`Starknet types v0.8 <-> Starknet Spec v0.8`
92+
MAJOR and MINOR version of this package follows [starknet-spec](https://github.com/starkware-libs/starknet-specs/tags) semantic versioning. The PATCH version can diverge based on the bug fixes.
93+
94+
Ex. Starknet types-js v0.7 == Starknet Spec v0.7
5495

5596
## Devs Build
5697

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@starknet-io/types-js",
3-
"version": "0.7.10",
3+
"version": "0.8.0-beta.11",
44
"description": "Shared TypeScript definitions for Starknet projects",
55
"homepage": "https://github.com/starknet-io/types-js",
66
"keywords": [

0 commit comments

Comments
 (0)