Skip to content

Commit

Permalink
Merge pull request #28 from leapwallet/main
Browse files Browse the repository at this point in the history
Fixed publish script
  • Loading branch information
leapsamvel authored Aug 26, 2023
2 parents 4cccfc6 + b7b7781 commit 2d68fd5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ jobs:
- run: yarn
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- run: yarn build
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- run: yarn publish:provider
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn publish:snap
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

17 changes: 8 additions & 9 deletions packages/cosmos-snap-provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,15 @@ Utilize the **`suggestChain`** method to suggest any chains of coinTypes in the
```javascript
import { suggestChain } from '@leapwallet/cosmos-snap-provider';
await suggestChain({
chainId: "canto_7700-1",
chainName: "canto",
bip44: {
coinType: 564,
},
bech32Config: {
bech32PrefixAccAddr: "canto",
},
"chainId": "coreum-mainnet-1",
"chainName": "coreum",
"bech32Config": {
"bech32PrefixAccAddr": "core"
},
"bip44": {
"coinType": 990
}
)
})
```

### 4. **cosmjsOfflineSigner**
Expand Down
3 changes: 2 additions & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"serve": "mm-snap serve",
"start": "mm-snap watch",
"test": "jest",
"test-coverage": "jest --coverage"
"test-coverage": "jest --coverage",
"prepublish": "yarn build"
},
"dependencies": {
"@cosmjs/amino": "^0.31.0",
Expand Down

0 comments on commit 2d68fd5

Please sign in to comment.