From 062c085af2fb0ca7f51528a1b1021236191a2111 Mon Sep 17 00:00:00 2001 From: wkj <278599135@.com> Date: Mon, 16 Jun 2025 09:51:19 +0800 Subject: [PATCH] build --- es/triggers/withdraw.d.ts | 2 +- lib/utils/payClazz/AliPay/index.js | 2 +- src/utils/payClazz/AliPay/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/es/triggers/withdraw.d.ts b/es/triggers/withdraw.d.ts index e69f8d6e..979a44c8 100644 --- a/es/triggers/withdraw.d.ts +++ b/es/triggers/withdraw.d.ts @@ -6,6 +6,6 @@ import { BRC } from '../types/RuntimeCxt'; * @param context * @param refunds */ -export declare function updateWithdrawState(context: BRC, id: string): Promise<0 | 1>; +export declare function updateWithdrawState(context: BRC, id: string): Promise<1 | 0>; declare const triggers: Trigger[]; export default triggers; diff --git a/lib/utils/payClazz/AliPay/index.js b/lib/utils/payClazz/AliPay/index.js index ce04cb27..043a90f9 100644 --- a/lib/utils/payClazz/AliPay/index.js +++ b/lib/utils/payClazz/AliPay/index.js @@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const AliPay_1 = tslib_1.__importDefault(require("./AliPay")); const AliPay_debug_1 = tslib_1.__importDefault(require("./AliPay.debug")); -exports.default = AliPay_1.default; //仅dev使用debug +exports.default = process.env.NODE_ENV === 'development' ? AliPay_debug_1.default : AliPay_1.default; //仅dev使用debug diff --git a/src/utils/payClazz/AliPay/index.ts b/src/utils/payClazz/AliPay/index.ts index a5c10fa5..67e52ec0 100644 --- a/src/utils/payClazz/AliPay/index.ts +++ b/src/utils/payClazz/AliPay/index.ts @@ -1,4 +1,4 @@ import AliPay from './AliPay'; import AliPayDebug from './AliPay.debug'; -export default process.env.NODE_ENV === 'development' ? AliPayDebug : AliPay; //仅dev使用debug \ No newline at end of file +export default process.env.NODE_ENV === 'development' ? AliPayDebug : AliPay;//仅dev使用debug \ No newline at end of file