shibaswap-dump 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,60 @@
1
+ name: Update dump.csv
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ schedule:
8
+ - cron: '0 * * * *'
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: write
13
+
14
+ jobs:
15
+ update-data:
16
+
17
+ permissions:
18
+ contents: write
19
+ id-token: write # Required for OIDC
20
+
21
+ runs-on: ubuntu-latest
22
+
23
+ steps:
24
+ - name: Checkout repository
25
+ uses: actions/checkout@v4
26
+ with:
27
+ lfs: true
28
+
29
+ - name: Setup Node.js
30
+ uses: actions/setup-node@v4
31
+ with:
32
+ node-version: '22'
33
+ registry-url: 'https://registry.npmjs.org'
34
+
35
+ - name: Update npm
36
+ run: npm install -g npm@latest
37
+
38
+ - name: Install dependencies
39
+ run: npm install
40
+
41
+ - name: Run update
42
+ run: npm start
43
+
44
+ - name: Commit and push changes
45
+ id: commit
46
+ run: |
47
+ git config --global user.name "github-actions[bot]"
48
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
49
+ git add dump.csv
50
+ if ! git diff --cached --quiet; then
51
+ npm version patch --force -m "chore: update dump.csv to %s [skip ci]"
52
+ git push --follow-tags
53
+ echo "can_publish=true" >> $GITHUB_OUTPUT
54
+ else
55
+ echo "No changes"
56
+ fi
57
+
58
+ - name: Publish to NPM
59
+ if: steps.commit.outputs.can_publish == 'true'
60
+ run: npm publish
package/dump.csv CHANGED
@@ -1033,3 +1033,5 @@
1033
1033
  1032,0xbeed6dbb2885db9df01e0b0e8dc8745391bb016b,0xa9306633db59a15f36a11f4916e2a814f57b9b86,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1034
1034
  1033,0x8473c36db8e31f5d79ff74c3e0c59326974d3dcb,0x7d3e465ded1df48c451b1f58ad3551368c367db2,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1035
1035
  1034,0x466154c67b4e7310acf93c02e345a9efc5caf32d,0x354588b2aff6279664e25cc8cb9664e66a16193b,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1036
+ 1035,0x60d0bc5ae87546d0d1eeff0e236bc250c4487e14,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0x6985884c4392d348587b19cb9eaaf157f13271cd
1037
+ 1036,0xa58a8cd995a96f76951f0c60b30e7e19b22cfc8c,0x9813037ee2218799597d83d4a5b6f3b6778218d9,0xa12cc123ba206d4031d1c7f6223d1c2ec249f4f3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shibaswap-dump",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Static set of addresses (ShibaSwap Ethereum mainnet)",
5
5
  "keywords": [
6
6
  "ShibaSwap",
@@ -23,5 +23,8 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "uniswap-v2-loader": "^5.0.20"
26
+ },
27
+ "publishConfig": {
28
+ "provenance": true
26
29
  }
27
30
  }