Skip to content

Commit db57f32

Browse files
committed
Release @argent-x/extension@6.10.1
1 parent 0cb22f7 commit db57f32

File tree

342 files changed

+8341
-6638
lines changed

Some content is hidden

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

342 files changed

+8341
-6638
lines changed

.github/workflows/changeset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
token: ${{ secrets.ARGENTBOT_GITHUB_PAT }}
2121

2222
- name: Install Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: "18.x"
2626

.github/workflows/pull-request.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
version: 8
6262
run_install: false
6363

64-
- uses: actions/setup-node@v3
64+
- uses: actions/setup-node@v4
6565
with:
6666
node-version: "18.x"
6767
cache: "pnpm"
@@ -84,7 +84,12 @@ jobs:
8484
run: pnpm run setup
8585

8686
- name: Build extension for ${{ matrix.extension_type }}
87-
run: pnpm run build:extension
87+
run: |
88+
if [[ "${{ matrix.extension_type }}" == "firefox" ]]; then
89+
MANIFEST_VERSION=v2 pnpm run build:extension
90+
else
91+
MANIFEST_VERSION=v3 pnpm run build:extension
92+
fi
8893
8994
- name: Check bundlesize for ${{ matrix.extension_type }}
9095
run: pnpm bundlewatch
@@ -136,7 +141,7 @@ jobs:
136141
version: 8
137142
run_install: false
138143

139-
- uses: actions/setup-node@v3
144+
- uses: actions/setup-node@v4
140145
with:
141146
node-version: "18.x"
142147
cache: "pnpm"
@@ -201,7 +206,7 @@ jobs:
201206
version: 8
202207
run_install: false
203208

204-
- uses: actions/setup-node@v3
209+
- uses: actions/setup-node@v4
205210
with:
206211
node-version: "18.x"
207212
cache: "pnpm"
@@ -258,7 +263,7 @@ jobs:
258263
version: 8
259264
run_install: false
260265

261-
- uses: actions/setup-node@v3
266+
- uses: actions/setup-node@v4
262267
with:
263268
node-version: "16"
264269
cache: "pnpm"
@@ -302,7 +307,7 @@ jobs:
302307
version: 8
303308
run_install: false
304309

305-
- uses: actions/setup-node@v3
310+
- uses: actions/setup-node@v4
306311
with:
307312
node-version: "18.x"
308313
cache: "pnpm"
@@ -342,7 +347,7 @@ jobs:
342347
version: 8
343348
run_install: false
344349

345-
- uses: actions/setup-node@v3
350+
- uses: actions/setup-node@v4
346351
with:
347352
node-version: "18.x"
348353
cache: "pnpm"
@@ -403,7 +408,7 @@ jobs:
403408
version: 8
404409
run_install: false
405410

406-
- uses: actions/setup-node@v3
411+
- uses: actions/setup-node@v4
407412
with:
408413
node-version: "18.x"
409414
cache: "pnpm"
@@ -423,6 +428,8 @@ jobs:
423428
- name: Run tests
424429
run: |
425430
pnpm run --filter @argent/web start:ci &
431+
sleep 10 &&
432+
curl http://localhost:3005 &&
426433
pnpm run test:e2e:webwallet
427434
428435
- name: Upload artifacts

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- release/*
77
tags:
8-
# - "@argent-x/extension@*"
98
- "**"
109

1110
env:
@@ -56,12 +55,14 @@ jobs:
5655
version: 8
5756
run_install: false
5857

59-
- uses: actions/setup-node@v3
58+
- uses: actions/setup-node@v4
6059
with:
6160
node-version: "18.x"
6261
cache: "pnpm"
6362
- run: pnpm run setup
64-
- run: pnpm --filter=\!@argent/web build
63+
64+
- name: Build Chrome version
65+
run: pnpm --filter=\!@argent/web build
6566

6667
- run: pnpm --filter @argent-x/dapp export
6768

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ license-report.md
2020

2121
**/.parcel-cache
2222

23-
vite.config.ts.timestamp-*
23+
vite.config.ts.timestamp-*
24+
25+
report

.jscpd.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"reporters": ["html", "console"],
3+
"ignore": [
4+
"**/__snapshots__/**",
5+
"**/__fixtures__/**",
6+
"**/__tests__/**",
7+
"**/*.test.*",
8+
"*.json",
9+
"*.svg"
10+
],
11+
"minTokens": 75,
12+
"absolute": true
13+
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.0
1+
18.18.1

License.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
All intellectual property rights, interests and titles in the code, application, software and documents (“Works”) are owned by Argent Labs Ltd (“Argent”). You are granted a non-exclusive, non-transferable licence to copy, modify, publish, adapt, and create derivative outputs of the Works (“Generated Works”) solely for non-commercial purposes. Non-commercial purposes means, at the sole discretion of Argent:
2-
* Personal use without any commercial exploitation
3-
* Public educational, public research or charitable use
4-
* Use by any organisation provided that the monthly active users are less than 1000.
1+
All intellectual property rights, interests and titles in the code, application, software and documents (“Works”) are owned by Argent Labs Ltd (“Argent”). You are granted a non-exclusive, non-transferable licence to copy, modify, publish, adapt, and create derivative outputs of the Works (“Generated Works”) solely for non-commercial purposes. Non-commercial purposes means, at the sole discretion of Argent:
2+
3+
- Personal use without any commercial exploitation
4+
- Public educational, public research or charitable use
5+
- Use by any organisation provided that the monthly active users are less than 1000.
6+
7+
A notice must be present in any Generated Works stating that the Works are owned by Argent and subject to these licence terms. You may not use, process or otherwise interact with the Works in any way not expressly permitted here.
58

6-
A notice must be present in any Generated Works stating that the Works are owned by Argent and subject to these licence terms. You may not use, process or otherwise interact with the Works in any way not expressly permitted here.
7-
89
If you have any questions, please contact us at legal@argent.xyz.

Readme.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,19 @@ The example dapp is also contained in this repository.
4444

4545
## 🌐 Usage with your dapp
4646

47-
If you want to use this StarkNet Wallet extension with your dapp, the easiest way is to checkout the `@argent/get-starknet` package developed in this repo by running:
47+
If you want to use this StarkNet Wallet extension with your dapp, the easiest way is to checkout the [starknetkit](https://github.com/argentlabs/starknetkit) package
4848

4949
```bash
5050
# starknet.js is a peer dependency
51-
pnpm add @argent/get-starknet starknet
51+
pnpm add starknetkit starknet
5252
```
5353

54-
The package is a light wrapper around [starknet.js](https://github.com/0xs34n/starknet.js) to interact with the wallet extension. You can then use it like the following:
55-
5654
```javascript
57-
import { connect } from "@argent/get-starknet"
55+
import { connect } from "starknetkit"
5856

5957
// Let the user pick a wallet (on button click)
6058
const starknet = connect()
6159

62-
// or try to connect to an approved wallet silently (on mount probably)
63-
const starknet = connect({ showList: false })
64-
6560
if (!starknet) {
6661
throw Error("User rejected wallet selection or silent connect found nothing")
6762
}

0 commit comments

Comments
 (0)