cb-pay-merchant-api 1.0.0 → 1.0.1
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/README.md +1 -1
- package/dist/cjs/index.d.ts +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Initialize the instance by providing your merchant credentials. The integration
|
|
|
27
27
|
import { CBPayMerchantApi } from 'cb-pay-merchant-api';
|
|
28
28
|
|
|
29
29
|
const cbpay = CBPayMerchantApi({
|
|
30
|
-
baseUrl: '[https://api.uat.cbbank.com](https://api.uat.cbbank.com)', // Contact CB Pay Team
|
|
30
|
+
baseUrl: '[https://api.uat.cbbank.com](https://api.uat.cbbank.com)', // <<< I cannot disclose the routes. Contact CB Pay Merchant Onboarding Team
|
|
31
31
|
sourceId: 'YOUR_SOURCE_ID',
|
|
32
32
|
merchantId: 'YOUR_MERCHANT_ID',
|
|
33
33
|
terminalId: 'YOUR_TERMINAL_ID',
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {CheckQrRequestOption, CheckQrResponse, CreateQrRequestOption, CreateQrResponse, RefundRequestOption, RefundResponse} from './types';
|
|
1
|
+
import { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse } from './types';
|
|
2
|
+
export { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse };
|
|
2
3
|
/**
|
|
3
4
|
* @Options
|
|
4
5
|
* @Options
|
|
@@ -52,4 +53,3 @@ declare class CBPayMerchantClass {
|
|
|
52
53
|
*/
|
|
53
54
|
refund(options: RefundRequestOption): Promise<RefundResponse>;
|
|
54
55
|
}
|
|
55
|
-
export { };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CheckQrRequestOption, CheckQrResponse, CreateQrRequestOption, CreateQrResponse, RefundRequestOption, RefundResponse } from './types';
|
|
1
|
+
import { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse } from './types';
|
|
2
|
+
export { CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse };
|
|
2
3
|
/**
|
|
3
4
|
* @Options
|
|
4
5
|
* @Options
|
|
@@ -52,4 +53,3 @@ declare class CBPayMerchantClass {
|
|
|
52
53
|
*/
|
|
53
54
|
refund(options: RefundRequestOption): Promise<RefundResponse>;
|
|
54
55
|
}
|
|
55
|
-
export {};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import {CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse} from './types';
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
CheckQrRequest, CheckQrRequestOption, CheckQrResponse, CreateQrRequest, CreateQrRequestOption, CreateQrResponse, GetTokenRequest, GetTokenResponse, RefundRequest, RefundRequestOption, RefundResponse
|
|
5
|
+
};
|
|
3
6
|
/**
|
|
4
7
|
* @Options
|
|
5
8
|
* @Options
|