Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 2.05 KB

File metadata and controls

71 lines (51 loc) · 2.05 KB

Emerald API Client for Javascript

Unit Tests License

NodeJS / Electron Client

npm (scoped)

Web Client

npm (scoped)

Development

Build Instructions

Prepare Environment
pnpm install
Build all
pnpm -r run build
Build individual modules
pnpm --filter @emeraldpay/api run build
pnpm --filter @emeraldpay/api-node run build
pnpm --filter @emeraldpay/api-web run build
Compile individual modules
pnpm --filter @emeraldpay/api run build:ts
pnpm --filter @emeraldpay/api-node run build:ts
pnpm --filter @emeraldpay/api-web run build:ts
Test individual modules
pnpm --filter @emeraldpay/api run test
pnpm --filter @emeraldpay/api-node run test
pnpm --filter @emeraldpay/api-web run test

Update Protobuf

This Client references Emerald API protobuf through Git Submodules. Original Protobuf definitions are located at: https://github.com/emeraldpay/emerald-grpc

Update Protobuf definitions to the latest:
git submodule update --remote
git commit api-definitions

License

Copyright 2026 EmeraldPay Ltd

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.