@uxda/appkit 1.2.4 → 1.2.6
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 +2 -2
- package/package.json +1 -1
- package/src/balance/api/index.ts +1 -1
- package/src/payment/api/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -424,7 +424,7 @@ function useHttp$1() {
|
|
|
424
424
|
Token: appkitOptions.token(),
|
|
425
425
|
Appcode: appkitOptions.app(),
|
|
426
426
|
cookie: `tid=${appkitOptions.tenant()}`,
|
|
427
|
-
gray: appkitOptions.gray()
|
|
427
|
+
gray: appkitOptions.gray ? appkitOptions.gray() : "0"
|
|
428
428
|
};
|
|
429
429
|
const $http = createHttp({
|
|
430
430
|
vendor: vendor$1,
|
|
@@ -812,7 +812,7 @@ function useHttp() {
|
|
|
812
812
|
Token: appkitOptions.token(),
|
|
813
813
|
Appcode: appkitOptions.app(),
|
|
814
814
|
cookie: `tid=${appkitOptions.tenant()}`,
|
|
815
|
-
gray: appkitOptions.gray()
|
|
815
|
+
gray: appkitOptions.gray ? appkitOptions.gray() : "0"
|
|
816
816
|
};
|
|
817
817
|
const $http = createHttp({
|
|
818
818
|
vendor,
|
package/package.json
CHANGED
package/src/balance/api/index.ts
CHANGED
package/src/payment/api/index.ts
CHANGED