Skip to content

Commit

Permalink
fix: version
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Jan 20, 2025
1 parent 31d9c63 commit 9ea4c00
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 30 deletions.
33 changes: 7 additions & 26 deletions .github/workflows/typescript-sdk-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ env:
NODE_OPTIONS: '--no-warnings'

jobs:
publish-npm:
name: 'Publish to NPM'
publish-sdk:
name: 'Publish to Registries'
runs-on: ['ubuntu-latest']
permissions:
contents: read
Expand All @@ -50,30 +50,11 @@ jobs:
bun run typecheck
bun run check-package
- name: 'Publish to npm'
- name: 'Publish to JSR'
run: bun scripts/publish.ts --period patch

- name: 'Publish to NPM'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
bun publih --access='public'
publish-jsr:
name: 'Publish to JSR'
runs-on: ['ubuntu-latest']
permissions:
contents: read
# The OIDC ID token is used for authentication with JSR.
id-token: write
steps:
- name: 'Checkout'
uses: actions/checkout@v4

- name: 'Setup bun'
uses: oven-sh/setup-bun@v2
with:
bun-version: 'latest'

- name: 'Publish to JSR'
run: |
bun install
bun scripts/publish.ts --period patch
run: npm publish --access='public' --no-git-tags
2 changes: 1 addition & 1 deletion typescript-sdk/jsr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@union/client",
"version": "0.0.39",
"version": "0.0.48",
"license": "MIT",
"exports": {
".": "./src/mod.ts"
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.45",
"version": "0.0.48",
"homepage": "https://union.build",
"description": "Union Labs cross-chain transfers client",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion typescript-sdk/src/evm/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
berachainTestnetbArtio
} from "viem/chains"
import type { TransferAssetsParameters, LooseAutocomplete, Hex, HexAddress } from "../types.ts"
import { ucs03ZkgmAbi } from "#abi/ucs-03.ts"
import { ucs03ZkgmAbi } from "../abi/ucs-03.ts"
export { sepolia, scrollSepolia, arbitrumSepolia, berachainTestnetbArtio }

export const evmChains = [
Expand Down
2 changes: 1 addition & 1 deletion typescript-sdk/src/pfm.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ChainId } from "./types.ts"
import { err, ok, Result } from "neverthrow"
import { sepolia } from "#mod.ts"
import { sepolia } from "./mod.ts"
import { holesky } from "viem/chains"

export const createPfmMemo: (_args: {
Expand Down

0 comments on commit 9ea4c00

Please sign in to comment.