@jolibox/implement 1.4.14 → 1.4.15

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.
@@ -1,9 +1,9 @@
1
1
  Invoking: npm run clean && npm run build:esm && tsc
2
2
 
3
- > @jolibox/implement@1.4.14 clean
3
+ > @jolibox/implement@1.4.15 clean
4
4
  > rimraf ./dist
5
5
 
6
6
 
7
- > @jolibox/implement@1.4.14 build:esm
7
+ > @jolibox/implement@1.4.15 build:esm
8
8
  > BUILD_VERSION=$(node -p "require('./package.json').version") node esbuild.config.js --format=esm
9
9
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@jolibox/implement",
3
3
  "description": "This project is Jolibox JS-SDk implement for Native && H5",
4
- "version": "1.4.14",
4
+ "version": "1.4.15",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@jolibox/common": "1.4.14",
10
- "@jolibox/types": "1.4.14",
11
- "@jolibox/native-bridge": "1.4.14",
12
- "@jolibox/ads": "1.4.14",
9
+ "@jolibox/common": "1.4.15",
10
+ "@jolibox/types": "1.4.15",
11
+ "@jolibox/native-bridge": "1.4.15",
12
+ "@jolibox/ads": "1.4.15",
13
13
  "localforage": "1.10.0",
14
- "@jolibox/ui": "1.4.14",
14
+ "@jolibox/ui": "1.4.15",
15
15
  "web-vitals": "4.2.4"
16
16
  },
17
17
  "devDependencies": {
@@ -196,6 +196,11 @@ function addDoExitLoader() {
196
196
  return true; // Forbid exit on watching ads
197
197
  }
198
198
 
199
+ if (context.platform === 'ios') {
200
+ doActualExit();
201
+ return false;
202
+ }
203
+
199
204
  // 指定退出挽留逻辑,则按照指定逻辑运行
200
205
  if (isBoolean(context.shouldInterupt)) {
201
206
  // 不需要打断退出,上报埋点