Skip to content

Commit

Permalink
Merge branch 'main' into operator-config
Browse files Browse the repository at this point in the history
  • Loading branch information
dwertent authored Nov 12, 2024
2 parents 4fcbe93 + c9c956f commit 3c08a68
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/release-typescript-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,25 @@ on:
required: true
workflow_dispatch:


jobs:
publish:
permissions:
contents: read
id-token: write
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'

- name: Install pre-requisites
uses: ./.github/actions/setup

Expand All @@ -24,6 +35,7 @@ jobs:
run: |
set -e
../../gradlew build
npm publish
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

4 changes: 2 additions & 2 deletions sdk/typescript/package-lock.json

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

5 changes: 4 additions & 1 deletion sdk/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lfdecentralizedtrust-labs/paladin-sdk",
"version": "0.0.1",
"version": "0.0.2-alpha.1",
"description": "",
"main": "build/index.js",
"scripts": {
Expand All @@ -18,5 +18,8 @@
"axios": "^1.7.7",
"ethers": "^6.13.4",
"uuid": "^11.0.2"
},
"repository": {
"url": "https://github.com/LF-Decentralized-Trust-labs/paladin"
}
}
1 change: 1 addition & 0 deletions sdk/typescript/src/interfaces/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface ITransactionReceipt {
contractAddress?: string;
};
};
failureMessage?: string;
}

export interface ITransactionStates {
Expand Down

0 comments on commit 3c08a68

Please sign in to comment.