@hylid/custom-jsapi 4.0.0-alpha.9 → 4.0.0
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/lib/bridge.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b, _c;
|
|
2
|
-
import { clientEnv } from '@hylid/env';
|
|
2
|
+
import { clientEnv, CLIENT } from '@hylid/env';
|
|
3
3
|
import { notFound } from '@hylid/call';
|
|
4
4
|
import { getCallAppLink as alipayGetCallAppLink } from "./common/alipay";
|
|
5
5
|
import { getCallAppLink as alipayhkGetCallAppLink } from "./common/alipayhk";
|
|
@@ -20,7 +20,6 @@ import { getGeneralAppInfo as mpayGetGeneralAppInfo } from "./common/mpay/getGen
|
|
|
20
20
|
import { getGeneralAppInfo as tngdGetGeneralAppInfo } from "./common/tngd/getGeneralAppInfo";
|
|
21
21
|
import { getGeneralAppInfo as tossGetGeneralAppInfo } from "./common/toss/getGeneralAppInfo";
|
|
22
22
|
import { getGeneralAppInfo as truemoneyGetGeneralAppInfo } from "./common/truemoney/getGeneralAppInfo";
|
|
23
|
-
import { CLIENT } from '@hylid/env';
|
|
24
23
|
export var bySpecificClient = function bySpecificClient(map, defaultValue) {
|
|
25
24
|
return function (clientName) {
|
|
26
25
|
return map[clientName] || defaultValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hylid/custom-jsapi",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@hylid/call": "^4.0.0
|
|
13
|
-
"@hylid/env": "^4.0.0
|
|
14
|
-
"@hylid/types": "^4.0.0
|
|
12
|
+
"@hylid/call": "^4.0.0",
|
|
13
|
+
"@hylid/env": "^4.0.0",
|
|
14
|
+
"@hylid/types": "^4.0.0",
|
|
15
15
|
"qs-es5": "^6.8.4"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|