Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v3.10.32): add params for GetDeliveryRecord, fixed e2e tests #415

Merged
merged 3 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions .github/workflows/e2etest.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: 'Build & Test'
name: E2ETests

on: [push]

# on:
# # pull_request:
# # branches:
# # - "master"
# push:
# branches:
on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
E2ETests:
name: 'Build & Test'
runs-on: ubuntu-latest

Expand All @@ -30,8 +26,18 @@ jobs:
- name: Build
run: npm run build

- name: Test
run: npm run test
- name: Test Public Read API Calls
run: npm run test -- public.read.test.ts

- name: Test Private Read API Calls
run: npm run test -- private.read.test.ts

- name: Test Private Write API Calls
run: npm run test -- private.write.test.ts

- name: Test Public WS
run: npm run test -- public.ws.test.ts

env:
API_KEY_COM: ${{ secrets.API_KEY_COM }}
API_SECRET_COM: ${{ secrets.API_SECRET_COM }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bybit-api",
"version": "3.10.31",
"version": "3.10.32",
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/types/request/v5-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export interface GetCoinExchangeRecordParamsV5 {
export interface GetDeliveryRecordParamsV5 {
category: CategoryV5;
symbol?: string;
startTime?: number;
endTime?: number;
expDate?: string;
limit?: number;
cursor?: string;
Expand Down
Loading