jubo-sdk 1.1.0 → 1.1.2
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 +11 -9
- package/dist/JuboSdk.d.ts +1 -0
- package/dist/OldJuboSdk.d.ts +1 -0
- package/dist/index.cjs.js +660 -1058
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +660 -1058
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +660 -1058
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/types/juboSdk.d.ts +21 -4
- package/dist/utils/index.d.ts +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -14,15 +14,17 @@ new JuboSdk(options: JuboSdkOptions);
|
|
|
14
14
|
|
|
15
15
|
### **options参数说明**
|
|
16
16
|
|
|
17
|
-
| **参数名** | **类型** | **是否必填** | **默认值**
|
|
18
|
-
| ------------------ | -------------------------------------------------------------------------------------------------------------- | -------- |
|
|
19
|
-
| name | [AppName](https://x44qmhgdj1.feishu.cn/docx/Em74djQxEo32UxxbcYdcAMwSnpf#part-T1PWdRWf4olDSMxmT1bcSIvxnrb) | 是 | 无
|
|
20
|
-
| oldAppVersion | string | 是 | 无
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
17
|
+
| **参数名** | **类型** | **是否必填** | **默认值** | **描述** |
|
|
18
|
+
| ------------------ | -------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------- | --------------------- |
|
|
19
|
+
| name | [AppName](https://x44qmhgdj1.feishu.cn/docx/Em74djQxEo32UxxbcYdcAMwSnpf#part-T1PWdRWf4olDSMxmT1bcSIvxnrb) | 是 | 无 | app名称 |
|
|
20
|
+
| oldAppVersion | string | 是 | 无 | app旧版本, 用于判断是否使用新版sdk |
|
|
21
|
+
| ojbRouter | [OjbRouter](https://x44qmhgdj1.feishu.cn/docx/Em74djQxEo32UxxbcYdcAMwSnpf#part-XFz0dd8FioFkJTxWbGlciCr9nce)[] | 是 | 无 | ojb路由 |
|
|
22
|
+
| appHome | string | 否 | 无 | 跳转的首页 |
|
|
23
|
+
| miniProgramAppId | string | 否 | 无 | 小程序appid |
|
|
24
|
+
| miniProgramLogin | string | 否 | /pages/login/index | 小程序的登录页 |
|
|
25
|
+
| miniProgramTabBar | string[] | 否 | ['/pages/home/index','/pages/boxHome/index','/pages/csgoPage/index','/pages/mine/index','/pages/ipHome/index'] | 小程序tabBar页面列表 |
|
|
26
|
+
| miniProgramPayPage | string | 否 | 无 | 小程序支付页 |
|
|
27
|
+
| handleOjbUrlFn | (url: string) => string | 否 | 无 | 自定义处理ojb协议函数 |
|
|
26
28
|
|
|
27
29
|
#### AppName枚举值
|
|
28
30
|
|
package/dist/JuboSdk.d.ts
CHANGED