@uxda/appkit 4.2.53 → 4.2.55

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/dist/index.js CHANGED
@@ -1442,8 +1442,9 @@ const endpointsList$2 = {
1442
1442
  appCode: params.app,
1443
1443
  tenantId: params.tenant,
1444
1444
  certificateNo: params.user,
1445
- accountAuthFlag: params.accountAuthFlag || null,
1446
- channelCode: params.channelCode || null
1445
+ accountAuthFlag: params.accountAuthFlag || false,
1446
+ channelCode: params.channelCode || null,
1447
+ payFinishJumpUrl: params.payFinishJumpUrl || null
1447
1448
  }),
1448
1449
  transform: (data) => {
1449
1450
  let json = null;
@@ -8665,7 +8666,7 @@ const $app = {
8665
8666
  },
8666
8667
  invokeRecharge: (options) => {
8667
8668
  },
8668
- getSdkConfig: (appCode) => {
8669
+ getSdkConfig: (appCode, url) => {
8669
8670
  }
8670
8671
  };
8671
8672
  services.forEach((service) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.53",
3
+ "version": "4.2.55",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
package/src/Appkit.ts CHANGED
@@ -41,7 +41,7 @@ export type DollarApp = {
41
41
  setTempToken: (token: () => string) => void
42
42
  requestPayment: (options: PaymentParams) => void
43
43
  invokeRecharge: (options: RechargeParams) => void
44
- getSdkConfig: (appCode: string) => void
44
+ getSdkConfig: (appCode: string, url: string) => void
45
45
  }
46
46
 
47
47
  /**
package/src/index.ts CHANGED
@@ -51,7 +51,7 @@ const $app: DollarApp = {
51
51
  },
52
52
  requestPayment: (options: PaymentParams) => {},
53
53
  invokeRecharge: (options: RechargeParams) => {},
54
- getSdkConfig: (appCode: string) => {},
54
+ getSdkConfig: (appCode: string, url: string) => {},
55
55
  }
56
56
 
57
57
  services.forEach((service) => {
@@ -40,8 +40,9 @@ const endpointsList: HttpEndpoints = {
40
40
  appCode: params.app,
41
41
  tenantId: params.tenant,
42
42
  certificateNo: params.user,
43
- accountAuthFlag: params.accountAuthFlag || null,
43
+ accountAuthFlag: params.accountAuthFlag || false,
44
44
  channelCode: params.channelCode || null,
45
+ payFinishJumpUrl: params.payFinishJumpUrl || null,
45
46
  }),
46
47
  transform: (data: any) => {
47
48
  let json = null