Skip to content

Commit

Permalink
fix(app): upgrade to typescript-sdk v0.43 (#3478)
Browse files Browse the repository at this point in the history
  • Loading branch information
cor authored Jan 9, 2025
2 parents 7ec0a4a + a356f4e commit 4423668
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _: {
{
packages = {
app = jsPkgs.buildNpmPackage {
npmDepsHash = "sha256-5pT2cOd8DaPiLCIUvIGAVet8hvJ8Am/UZp07ySCiFtk=";
npmDepsHash = "sha256-LNRasMMy2TSQn02fqmgx7Xo2A2oG4qrZa+TRAFZnBTU=";
src = ./.;
sourceRoot = "app";
npmFlags = [
Expand Down
8 changes: 4 additions & 4 deletions app/package-lock.json

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

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@tanstack/svelte-query": "5.61.5",
"@tanstack/svelte-table": "^8.20.5",
"@tanstack/svelte-virtual": "3.10.9",
"@unionlabs/client": "^0.0.40",
"@unionlabs/client": "0.0.43",
"@wagmi/connectors": "5.5.2",
"@wagmi/core": "2.15.1",
"bits-ui": "^0.21.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ const transfer = async () => {
const connectorClient = await getConnectorClient(config)
const selectedChain = evmChainFromChainId($fromChainId)
console.log(connectorClient.account)
const unionClient = createUnionClient({
account: connectorClient.account,
chainId: $fromChain.chain_id as EvmChainId,
Expand Down
1 change: 1 addition & 0 deletions typescript-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npm install @unionlabs/client
Publish to npm registry:

```sh
npm run build # important!
npm publish --access='public' --no-git-tags
```

Expand Down
2 changes: 1 addition & 1 deletion typescript-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unionlabs/client",
"version": "0.0.40",
"version": "0.0.43",
"homepage": "https://union.build",
"description": "Union Labs cross-chain transfers client",
"type": "module",
Expand Down

0 comments on commit 4423668

Please sign in to comment.