Skip to content

Commit

Permalink
fix: package, alpha -> main (#26)
Browse files Browse the repository at this point in the history
* fix: new export, lint (#25)

* ci: release on alpha ci

* chore(release): 0.7.8-alpha.1 [skip ci]

## [0.7.8-alpha.1](v0.7.7...v0.7.8-alpha.1) (2024-11-19)

### Bug Fixes

* new export, lint ([#25](#25)) ([4cfe411](4cfe411))

---------

Co-authored-by: semantic-release-bot <[email protected]>
  • Loading branch information
tabaktoni and semantic-release-bot authored Nov 22, 2024
1 parent 1e7c045 commit 39f80e9
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 35,7 @@ jobs:

publish:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' }}
needs: [quality]
steps:
- uses: actions/checkout@v4
Expand Down
22 changes: 12 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,34 1,36 @@
## [0.7.7](https://github.com/starknet-io/types-js/compare/v0.7.6...v0.7.7) (2024-06-10)
## [0.7.8-alpha.1](https://github.com/starknet-io/types-js/compare/v0.7.7...v0.7.8-alpha.1) (2024-11-19)


### Bug Fixes

* export all from abi ([#16](https://github.com/starknet-io/types-js/issues/16)) ([8dcc198](https://github.com/starknet-io/types-js/commit/8dcc198526d6561ce967407aa2ca68e378e2c300))
* new export, lint ([#25](https://github.com/starknet-io/types-js/issues/25)) ([4cfe411](https://github.com/starknet-io/types-js/commit/4cfe411d7ee117c9e3dfaa79807c9a62a1251a6f))

## [0.7.6](https://github.com/starknet-io/types-js/compare/v0.7.5...v0.7.6) (2024-06-07)
## [0.7.7](https://github.com/starknet-io/types-js/compare/v0.7.6...v0.7.7) (2024-06-10)

### Bug Fixes

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

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

### Bug Fixes

* simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))
- simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))

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


### Bug Fixes

* export abi internals ([#11](https://github.com/starknet-io/types-js/issues/11)) ([d22b5de](https://github.com/starknet-io/types-js/commit/d22b5decb6847ad70738ba7ea60de01281760427))
- export abi internals ([#11](https://github.com/starknet-io/types-js/issues/11)) ([d22b5de](https://github.com/starknet-io/types-js/commit/d22b5decb6847ad70738ba7ea60de01281760427))

## [0.7.4](https://github.com/starknet-io/types-js/compare/v0.7.3...v0.7.4) (2024-06-04)


### Bug Fixes

* readme ([#10](https://github.com/starknet-io/types-js/issues/10)) ([2636265](https://github.com/starknet-io/types-js/commit/2636265000a723ec39ff71a18ec70e19e4cfc0de))
- readme ([#10](https://github.com/starknet-io/types-js/issues/10)) ([2636265](https://github.com/starknet-io/types-js/commit/2636265000a723ec39ff71a18ec70e19e4cfc0de))

## [0.7.3](https://github.com/starknet-io/types-js/compare/v0.7.2...v0.7.3) (2024-06-04)


### Bug Fixes

* spec update ([#7](https://github.com/starknet-io/types-js/issues/7)) ([5ec8208](https://github.com/starknet-io/types-js/commit/5ec8208f9e495f34472834e01458f4d3f97049d7))
- spec update ([#7](https://github.com/starknet-io/types-js/issues/7)) ([5ec8208](https://github.com/starknet-io/types-js/commit/5ec8208f9e495f34472834e01458f4d3f97049d7))
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 17,25 @@ npm i @starknet-io/types-js
## Types

#### API [Starknet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/master/api)
```ts
// type import
import type { SomeApiType } from '@starknet-io/types-js'
// or entire namespace import
import { API } from '@starknet-io/types-js'

```ts
// type import
import type { SomeApiType } from '@starknet-io/types-js';
// or entire namespace import
import { API } from '@starknet-io/types-js';
```

#### Wallet API [Wallet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/48e77bf4aaf687388b40b8198e3105401941517a/wallet-api)
```ts
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js'
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js'

```ts
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js';
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js';
```

##### 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

## Versioning (pending SPEC PR merge)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
{
"name": "@starknet-io/types-js",
"version": "0.7.7",
"version": "0.7.8-alpha.1",
"description": "Shared TypeScript definitions for Starknet projects",
"homepage": "https://github.com/starknet-io/types-js",
"keywords": [
Expand All @@ -13,7 13,6 @@
"dapp"
],
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,7 @@
"esModuleInterop": false,
"allowSyntheticDefaultImports": false,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
// "verbatimModuleSyntax": true,
"importHelpers": false, // This is only used for build validation. Since we do not have `tslib` installed, this will fail if we accidentally make use of anything that'd require injection of helpers.

// Language and environment
Expand Down

0 comments on commit 39f80e9

Please sign in to comment.