feat(v3.10.32): add params for GetDeliveryRecord, fixed e2e tests
This commit is contained in:
23
.github/workflows/e2etest.yml
vendored
23
.github/workflows/e2etest.yml
vendored
@@ -1,16 +1,12 @@
|
|||||||
name: 'Build & Test'
|
name: E2ETests # Changed to match KuCoin naming
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
# on:
|
pull_request: # Added pull_request trigger
|
||||||
# # pull_request:
|
workflow_dispatch: # Added manual trigger option
|
||||||
# # branches:
|
|
||||||
# # - "master"
|
|
||||||
# push:
|
|
||||||
# branches:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
E2ETests: # Changed job ID to match KuCoin
|
||||||
name: 'Build & Test'
|
name: 'Build & Test'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -30,8 +26,11 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Test
|
- name: Test Public API Calls # Split test command into public and private
|
||||||
run: npm run test
|
run: npm run test -- public.test.ts
|
||||||
|
|
||||||
|
- name: Test Private API Calls # Added separate step for private API tests
|
||||||
|
run: npm run test -- private.test.ts
|
||||||
env:
|
env:
|
||||||
API_KEY_COM: ${{ secrets.API_KEY_COM }}
|
API_KEY_COM: ${{ secrets.API_KEY_COM }}
|
||||||
API_SECRET_COM: ${{ secrets.API_SECRET_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",
|
"name": "bybit-api",
|
||||||
"version": "3.10.31",
|
"version": "3.10.32",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.10.31",
|
"version": "3.10.32",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.6",
|
"axios": "^1.6.6",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"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.",
|
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ export interface GetCoinExchangeRecordParamsV5 {
|
|||||||
export interface GetDeliveryRecordParamsV5 {
|
export interface GetDeliveryRecordParamsV5 {
|
||||||
category: CategoryV5;
|
category: CategoryV5;
|
||||||
symbol?: string;
|
symbol?: string;
|
||||||
|
startTime?: number;
|
||||||
|
endTime?: number;
|
||||||
expDate?: string;
|
expDate?: string;
|
||||||
limit?: number;
|
limit?: number;
|
||||||
cursor?: string;
|
cursor?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user