Skip to content

Commit 9ea4c00

Browse files
committed
fix: version
1 parent 31d9c63 commit 9ea4c00

File tree

5 files changed

+11
-30
lines changed

5 files changed

+11
-30
lines changed

.github/workflows/typescript-sdk-publish.yml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ env:
2424
NODE_OPTIONS: '--no-warnings'
2525

2626
jobs:
27-
publish-npm:
28-
name: 'Publish to NPM'
27+
publish-sdk:
28+
name: 'Publish to Registries'
2929
runs-on: ['ubuntu-latest']
3030
permissions:
3131
contents: read
@@ -50,30 +50,11 @@ jobs:
5050
bun run typecheck
5151
bun run check-package
5252
53-
- name: 'Publish to npm'
53+
- name: 'Publish to JSR'
54+
run: bun scripts/publish.ts --period patch
55+
56+
- name: 'Publish to NPM'
5457
env:
5558
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5659
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
57-
run: |
58-
bun publih --access='public'
59-
60-
publish-jsr:
61-
name: 'Publish to JSR'
62-
runs-on: ['ubuntu-latest']
63-
permissions:
64-
contents: read
65-
# The OIDC ID token is used for authentication with JSR.
66-
id-token: write
67-
steps:
68-
- name: 'Checkout'
69-
uses: actions/checkout@v4
70-
71-
- name: 'Setup bun'
72-
uses: oven-sh/setup-bun@v2
73-
with:
74-
bun-version: 'latest'
75-
76-
- name: 'Publish to JSR'
77-
run: |
78-
bun install
79-
bun scripts/publish.ts --period patch
60+
run: npm publish --access='public' --no-git-tags

typescript-sdk/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://jsr.io/schema/config-file.v1.json",
33
"name": "@union/client",
4-
"version": "0.0.39",
4+
"version": "0.0.48",
55
"license": "MIT",
66
"exports": {
77
".": "./src/mod.ts"

typescript-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unionlabs/client",
3-
"version": "0.0.45",
3+
"version": "0.0.48",
44
"homepage": "https://union.build",
55
"description": "Union Labs cross-chain transfers client",
66
"type": "module",

typescript-sdk/src/evm/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
berachainTestnetbArtio
2727
} from "viem/chains"
2828
import type { TransferAssetsParameters, LooseAutocomplete, Hex, HexAddress } from "../types.ts"
29-
import { ucs03ZkgmAbi } from "#abi/ucs-03.ts"
29+
import { ucs03ZkgmAbi } from "../abi/ucs-03.ts"
3030
export { sepolia, scrollSepolia, arbitrumSepolia, berachainTestnetbArtio }
3131

3232
export const evmChains = [

typescript-sdk/src/pfm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ChainId } from "./types.ts"
22
import { err, ok, Result } from "neverthrow"
3-
import { sepolia } from "#mod.ts"
3+
import { sepolia } from "./mod.ts"
44
import { holesky } from "viem/chains"
55

66
export const createPfmMemo: (_args: {

0 commit comments

Comments
 (0)