zmp-sdk 2.35.5 → 2.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/apis/downloadFile.js +1 -0
- package/apis/apis/fetch.js +1 -0
- package/apis/apis/getFileInfo.js +1 -0
- package/apis/apis/getSavedFileList.js +1 -0
- package/apis/apis/removeSavedFile.js +1 -0
- package/apis/apis/saveFile.js +1 -0
- package/apis/common/apis/general/getFileInfo.js +1 -0
- package/apis/common/apis/general/getSavedFileList.js +1 -0
- package/apis/common/apis/general/lfsSaveFile.js +1 -0
- package/apis/common/apis/general/payment/checkTransaction.js +1 -1
- package/apis/common/apis/general/payment/createOrder.js +1 -1
- package/apis/common/apis/general/removeSavedFile.js +1 -0
- package/apis/common/apis/general/saveFile.js +1 -0
- package/apis/index.d.ts +4 -1
- package/apis/package.json.js +1 -1
- package/apis/types/enum.js +1 -1
- package/browser.min.js +2 -2
- package/index.d.ts +4 -1
- package/index.es.js +2 -2
- package/index.js +2 -2
- package/index.umd.js +3 -3
- package/package.json +1 -1
- package/zmp-sdk-v2.35.1.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -168,7 +168,8 @@ declare enum Events {
|
|
|
168
168
|
OpenApp = "h5.event.open.mp",
|
|
169
169
|
AppClose = "h5.event.action.close",
|
|
170
170
|
PaymentCallback = "payment.callback",
|
|
171
|
-
PaymentResult = "action.payment.result"
|
|
171
|
+
PaymentResult = "action.payment.result",
|
|
172
|
+
PaymentClose = "action.payment.close"
|
|
172
173
|
}
|
|
173
174
|
declare enum JumpStatus {
|
|
174
175
|
DOING = "doing",
|
|
@@ -1405,12 +1406,14 @@ type CreateOrderReturns = {
|
|
|
1405
1406
|
orderId: string;
|
|
1406
1407
|
};
|
|
1407
1408
|
type CheckTransactionReturns = {
|
|
1409
|
+
err: number;
|
|
1408
1410
|
msg: string;
|
|
1409
1411
|
orderId: string;
|
|
1410
1412
|
transId: string;
|
|
1411
1413
|
resultCode: number;
|
|
1412
1414
|
transTime: string;
|
|
1413
1415
|
createdAt: string;
|
|
1416
|
+
path?: string;
|
|
1414
1417
|
};
|
|
1415
1418
|
type CreateOrderIAPReturns = {
|
|
1416
1419
|
orderId: string;
|