Merge pull request #415 from JJ-Cro/update10022025
feat(v3.10.32): add params for GetDeliveryRecord, fixed e2e tests
This commit is contained in:
30
.github/workflows/e2etest.yml
vendored
30
.github/workflows/e2etest.yml
vendored
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.31",
|
||||
"version": "3.10.32",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.31",
|
||||
"version": "3.10.32",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^1.6.6",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -10,6 +10,8 @@ export interface GetCoinExchangeRecordParamsV5 {
|
||||
export interface GetDeliveryRecordParamsV5 {
|
||||
category: CategoryV5;
|
||||
symbol?: string;
|
||||
startTime?: number;
|
||||
endTime?: number;
|
||||
expDate?: string;
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
|
||||
Reference in New Issue
Block a user