@microbt/environment 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 +2 -2
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -94,12 +94,12 @@ console.log(resp);
|
|
|
94
94
|
|
|
95
95
|
### `bridgeBootstrap()`
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
初始化桥接环境。该函数主要用于在 iOS Webview 环境中初始化 JavaScript 与原生应用之间的桥接。
|
|
98
98
|
|
|
99
99
|
**示例**:
|
|
100
100
|
|
|
101
101
|
```typescript
|
|
102
|
-
bridgeBootstrap();
|
|
102
|
+
bridgeBootstrap(); // 函数内部会自动判断 iOS 运行环境
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
### `inSuperAcme()`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microbt/environment",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "microbt app library for environment",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
"prettier --cache --parser=typescript --write"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"alife-logger": "^1.8.30"
|
|
24
|
-
},
|
|
22
|
+
"dependencies": {},
|
|
25
23
|
"devDependencies": {
|
|
26
24
|
"@commitlint/cli": "^17.4.4",
|
|
27
25
|
"@commitlint/config-conventional": "^17.4.4",
|