Skip to content

Commit 62f6113

Browse files
authored
Merge pull request #289 from fracek/stable-v4
Change stable release to v4
2 parents 3b4686e + 3095a73 commit 62f6113

33 files changed

+5567
-4100
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"fixed": [],
6-
"linked": [["get-starknet-core", "get-starknet"]],
6+
"linked": [["@starknet-io/get-starknet-core", "@starknet-io/get-starknet"]],
77
"access": "public",
88
"baseBranch": "master",
99
"updateInternalDependencies": "patch",

.changeset/old-peas-clean.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@starknet-io/get-starknet-example": patch
3+
"@starknet-io/get-starknet-core": patch
4+
"@starknet-io/get-starknet": patch
5+
---
6+
7+
Release get-starknet v4 as stable

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: PR integration
33
on:
44
pull_request:
55
branches:
6-
- develop
76
- master
7+
- develop
88

99
jobs:
1010
version:

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@
1414

1515
```
1616
# using npm
17-
npm install get-starknet starknet@next
17+
npm install @starknet-io/get-starknet starknet@next
1818
1919
# using yarn
20-
yarn add get-starknet starknet@next
20+
yarn add @starknet-io/get-starknet starknet@next
2121
2222
# using pnpm
23-
pnpm add get-starknet starknet@next
23+
pnpm add @starknet-io/get-starknet starknet@next
2424
```
2525

26+
Read more about the new Starkent Dapp<>Wallet API in the
27+
[post](https://community.starknet.io/t/new-starknet-wallet-dapp-api/114295)
28+
2629
## Usage for dApp developers
2730

2831
You can use the built-in UI to connect to any Starknet wallet as fast as
2932
possible like this:
3033

3134
```tsx
32-
import { connect, disconnect } from "get-starknet"
35+
import { connect, disconnect } from "@starknet-io/get-starknet"
3336

3437
return <button onClick={() => connect()}>Connect wallet</button>
3538
```
@@ -49,7 +52,7 @@ import {
4952
getDiscoveryWallets,
5053
getLastConnectedWallet,
5154
getPreAuthorizedWallets,
52-
} from "get-starknet-core"
55+
} from "@starknet-io/get-starknet-core"
5356

5457
interface GetStarknetResult {
5558
// Returns all wallets available in the window object

example/CHANGELOG.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,49 @@
1-
# get-starknet-example
1+
# @starknet-io/get-starknet-example
2+
3+
## 4.0.6
4+
5+
### Patch Changes
6+
7+
- @starknet-io/get-starknet@4.0.6
8+
9+
## 4.0.5
10+
11+
### Patch Changes
12+
13+
- @starknet-io/get-starknet@4.0.5
14+
15+
## 4.0.4
16+
17+
### Patch Changes
18+
19+
- @starknet-io/get-starknet@4.0.4
20+
21+
## 4.0.3
22+
23+
### Patch Changes
24+
25+
- @starknet-io/get-starknet@4.0.3
26+
27+
## 4.0.2
28+
29+
### Patch Changes
30+
31+
- @starknet-io/get-starknet@4.0.2
32+
33+
## 4.0.1
34+
35+
### Patch Changes
36+
37+
- 0cd43d0: added mobile os store links support
38+
- Updated dependencies [0cd43d0]
39+
- @starknet-io/get-starknet@4.0.1
40+
41+
## 2.1.3-next.0
42+
43+
### Patch Changes
44+
45+
- Updated dependencies [4a477fd]
46+
247

348
## 2.1.4
449

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "get-starknet-example",
3-
"version": "2.1.4",
2+
"name": "@starknet-io/get-starknet-example",
3+
"version": "4.0.6",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"get-starknet": "workspace:^3.3.3",
12+
"@starknet-io/get-starknet": "workspace:*",
1313
"react": "^18.2.0",
1414
"react-dom": "^18.2.0"
1515
},

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
type DisconnectOptions,
55
connect,
66
disconnect,
7-
} from "get-starknet"
7+
} from "@starknet-io/get-starknet"
88
import { useState } from "react"
99

1010
function App() {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "get-starknet-monorepo",
3-
"version": "2.0.0",
2+
"name": "@starknet-io/get-starknet-monorepo",
3+
"version": "4.0.0",
44
"private": true,
55
"scripts": {
66
"build": "pnpm run -r build",
77
"dev": "pnpm run -r --parallel dev",
88
"format": "prettier --ignore-path .gitignore --plugin-search-dir=. --write '**/*.{js,cjs,ts,tsx,svelte,md,yml,json}'",
99
"format:check": "prettier --ignore-path .gitignore --plugin-search-dir=. --check '**/*.{js,cjs,ts,tsx,svelte,md,yml,json}'",
1010
"prepare": "pnpm run build && husky install",
11-
"publish": "pnpm publish -r --no-git-checks && changeset tag",
12-
"publish:next": "pnpm publish -r --no-git-checks --tag next && changeset tag",
11+
"publish": "pnpm publish -r --no-git-checks --access public && changeset tag",
12+
"publish:next": "pnpm publish -r --no-git-checks --access public --tag next && changeset tag",
1313
"test": "CI=true pnpm run -r test",
1414
"version": "changeset version && pnpm install --lockfile-only"
1515
},

packages/core/CHANGELOG.md

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,81 @@
1-
# get-starknet-core
1+
# @starknet-io/get-starknet-core
2+
3+
## 4.0.6
4+
5+
### Patch Changes
6+
7+
- bcd4294: refactor MetaMask Virtual Wallet to improve event handling, RPC
8+
requests, and wallet initialization logic
9+
- 4b92b8a: Add Fordefi wallet
10+
11+
## 4.0.5
12+
13+
### Patch Changes
14+
15+
- 0263b88: Decouple Virtual Wallet Discovery for async workflow
16+
17+
## 4.0.4
18+
19+
### Patch Changes
20+
21+
- d2fee96: Fix loading MetaMask Virtual Wallet dynamically in WalletAccount and
22+
add support for RPC APIs (wallet_supportedWalletApi and wallet_supportedSpecs)
23+
in get-starknet v4 integration.
24+
25+
## 4.0.3
26+
27+
### Patch Changes
28+
29+
- 93f3705: Fix MetaMask provider detection and handling in get-starknet v4
30+
integration.
31+
32+
## 4.0.2
33+
34+
### Patch Changes
35+
36+
- 40ceb05: Add keplr wallet
37+
38+
## 4.0.1
39+
40+
### Patch Changes
41+
42+
- 0cd43d0: added mobile os store links support
43+
44+
## 4.0.0-next.5
45+
46+
### Minor Changes
47+
48+
- 5cd8150: Spec update
49+
50+
## 4.0.0-next.4
51+
52+
### Minor Changes
53+
54+
- 5a31414: imported types
55+
56+
## 4.0.0-next.3
57+
58+
### Patch Changes
59+
60+
- 9c3b389: fix tests
61+
62+
## 4.0.0-next.2
63+
64+
### Patch Changes
65+
66+
- c5fd8a0: prerelease
67+
68+
## 4.0.0-next.1
69+
70+
### Patch Changes
71+
72+
- a9bf7d3: pre-release
73+
74+
## 4.0.0-next.0
75+
76+
### Major Changes
77+
78+
- 4a477fd: new wallet snip
279

380
## 3.3.5
481

packages/core/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
```
1818
# using npm
19-
npm install get-starknet starknet@next
19+
npm install @starknet-io/get-starknet-core starknet@next
2020
2121
# using yarn
22-
yarn add get-starknet starknet@next
22+
yarn add @starknet-io/get-starknet-core starknet@next
2323
2424
# using pnpm
25-
pnpm add get-starknet starknet@next
25+
pnpm add @starknet-io/get-starknet-core starknet@next
2626
```
2727

2828
## Usage for dApp developers
@@ -31,7 +31,7 @@ You can use the built-in UI to connect to any Starknet wallet as fast as
3131
possible like this:
3232

3333
```tsx
34-
import { connect, disconnect } from "get-starknet"
34+
import { connect, disconnect } from "@starknet-io/get-starknet-core"
3535

3636
return <button onClick={() => connect()}>Connect wallet</button>
3737
```
@@ -51,7 +51,7 @@ import {
5151
getDiscoveryWallets,
5252
getLastConnectedWallet,
5353
getPreAuthorizedWallets,
54-
} from "get-starknet-core"
54+
} from "@starknet-io/get-starknet-core"
5555

5656
interface GetStarknetResult {
5757
// Returns all wallets available in the window object

0 commit comments

Comments
 (0)