Skip to content

Commit

Permalink
Merge pull request #1422 from Phala-Network/imp-sdk-export-phactory-t…
Browse files Browse the repository at this point in the history
…ypes

imp(jssdk): export type PhactoryAPI
  • Loading branch information
Leechael authored Oct 26, 2023
2 parents adbda63 + ff3d19b commit eba5099
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
with:
node-version: 16
- name: Install yarn 2
run: sudo npm install -g yarn && yarn set version berry
run: sudo npm install -g yarn && yarn set version 3.6.4
- name: Download core-blockchain binaries
uses: actions/download-artifact@v3
with:
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Change permission
run: chmod +x ./target/release/phala-node ./target/release/pherry ./standalone/pruntime/bin/pruntime
- name: Run E2E tests
run: yarn set version berry && cd ./e2e/ && yarn && yarn build:proto && yarn test
run: yarn set version 3.6.4 && cd ./e2e/ && yarn && yarn build:proto && yarn test
- name: Pack logs if failed
if: failure()
run: tar czvf e2e-logs.tar.gz e2e
Expand Down
3 changes: 2 additions & 1 deletion frontend/packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export * from './pruntime/eip712'
export { default as createPruntimeClient } from './pruntime/createPruntimeClient'
export { default as signAndSend, SignAndSendError } from './utils/signAndSend'

export const PhactoryAPI = pruntime_rpc.PhactoryAPI
export const pruntimeRpc = pruntime_rpc
export type PhactoryAPI = pruntime_rpc.PhactoryAPI
export const PhactoryAPI = pruntime_rpc.PhactoryAPI
export const abis = { system }

0 comments on commit eba5099

Please sign in to comment.