@lark-apaas/client-toolkit 1.2.10-alpha.37 → 1.2.10-alpha.39

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.
@@ -18,7 +18,7 @@ async function getAppPublished() {
18
18
  credentials: 'include'
19
19
  });
20
20
  const res = await response.json();
21
- if (0 === res.code) return res.data;
21
+ if (0 === res.code || '0' === res.status_code) return res.data;
22
22
  console.error('Error fetching published app info:', res);
23
23
  } catch (error) {
24
24
  console.error('Error fetching published app info:', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit",
3
- "version": "1.2.10-alpha.37",
3
+ "version": "1.2.10-alpha.39",
4
4
  "types": "./lib/index.d.ts",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -94,8 +94,8 @@
94
94
  "@ant-design/colors": "^7.2.1",
95
95
  "@ant-design/cssinjs": "^1.24.0",
96
96
  "@data-loom/js": "0.4.7",
97
- "@lark-apaas/auth-sdk": "0.1.0-alpha.53",
98
- "@lark-apaas/client-capability": "0.1.3-alpha.12",
97
+ "@lark-apaas/auth-sdk": "0.1.0-alpha.54",
98
+ "@lark-apaas/client-capability": "0.1.3-alpha.13",
99
99
  "@lark-apaas/miaoda-inspector": "^1.0.15",
100
100
  "@lark-apaas/observable-web": "^1.0.1",
101
101
  "@radix-ui/react-avatar": "^1.1.10",