@hylid/custom-jsapi 0.0.2-dev.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 +17 -0
- package/lib/bridge.d.ts +8 -0
- package/lib/bridge.js +82 -0
- package/lib/common/alipay/getAppScanLink.d.ts +1 -0
- package/lib/common/alipay/getAppScanLink.js +3 -0
- package/lib/common/alipay/getCallAppLink.d.ts +2 -0
- package/lib/common/alipay/getCallAppLink.js +35 -0
- package/lib/common/alipay/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/alipay/getGeneralAppInfo.js +14 -0
- package/lib/common/alipay/index.d.ts +3 -0
- package/lib/common/alipay/index.js +3 -0
- package/lib/common/alipayhk/getAppScanLink.d.ts +2 -0
- package/lib/common/alipayhk/getAppScanLink.js +39 -0
- package/lib/common/alipayhk/getCallAppLink.d.ts +2 -0
- package/lib/common/alipayhk/getCallAppLink.js +38 -0
- package/lib/common/alipayhk/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/alipayhk/getGeneralAppInfo.js +13 -0
- package/lib/common/alipayhk/index.d.ts +3 -0
- package/lib/common/alipayhk/index.js +3 -0
- package/lib/common/dana/getAppScanLink.d.ts +1 -0
- package/lib/common/dana/getAppScanLink.js +1 -0
- package/lib/common/dana/getCallAppLink.d.ts +2 -0
- package/lib/common/dana/getCallAppLink.js +37 -0
- package/lib/common/dana/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/dana/getGeneralAppInfo.js +13 -0
- package/lib/common/dana/index.d.ts +2 -0
- package/lib/common/dana/index.js +2 -0
- package/lib/common/gcash/getAppScanLink.d.ts +1 -0
- package/lib/common/gcash/getAppScanLink.js +1 -0
- package/lib/common/gcash/getCallAppLink.d.ts +2 -0
- package/lib/common/gcash/getCallAppLink.js +43 -0
- package/lib/common/gcash/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/gcash/getGeneralAppInfo.js +13 -0
- package/lib/common/gcash/index.d.ts +2 -0
- package/lib/common/gcash/index.js +2 -0
- package/lib/common/mpay/getAppScanLink.d.ts +1 -0
- package/lib/common/mpay/getAppScanLink.js +2 -0
- package/lib/common/mpay/getCallAppLink.d.ts +2 -0
- package/lib/common/mpay/getCallAppLink.js +30 -0
- package/lib/common/mpay/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/mpay/getGeneralAppInfo.js +13 -0
- package/lib/common/mpay/index.d.ts +3 -0
- package/lib/common/mpay/index.js +3 -0
- package/lib/common/tngd/getAppScanLink.d.ts +1 -0
- package/lib/common/tngd/getAppScanLink.js +1 -0
- package/lib/common/tngd/getCallAppLink.d.ts +2 -0
- package/lib/common/tngd/getCallAppLink.js +39 -0
- package/lib/common/tngd/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/tngd/getGeneralAppInfo.js +13 -0
- package/lib/common/tngd/index.d.ts +2 -0
- package/lib/common/tngd/index.js +2 -0
- package/lib/common/toss/getAppScanLink.d.ts +1 -0
- package/lib/common/toss/getAppScanLink.js +1 -0
- package/lib/common/toss/getCallAppLink.d.ts +2 -0
- package/lib/common/toss/getCallAppLink.js +40 -0
- package/lib/common/toss/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/toss/getGeneralAppInfo.js +13 -0
- package/lib/common/toss/index.d.ts +2 -0
- package/lib/common/toss/index.js +2 -0
- package/lib/common/truemoney/getAppScanLink.d.ts +1 -0
- package/lib/common/truemoney/getAppScanLink.js +1 -0
- package/lib/common/truemoney/getCallAppLink.d.ts +2 -0
- package/lib/common/truemoney/getCallAppLink.js +43 -0
- package/lib/common/truemoney/getGeneralAppInfo.d.ts +2 -0
- package/lib/common/truemoney/getGeneralAppInfo.js +13 -0
- package/lib/common/truemoney/index.d.ts +2 -0
- package/lib/common/truemoney/index.js +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/utils/getAppScanLink.d.ts +2 -0
- package/lib/utils/getAppScanLink.js +39 -0
- package/lib/utils/getCallAppPage.d.ts +2 -0
- package/lib/utils/getCallAppPage.js +20 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/package.json +20 -0
package/README.md
ADDED
package/lib/bridge.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HyCustomJSAPI, GetGeneralAppInfo } from '@hylid/types';
|
|
2
|
+
export declare const bySpecificClient: <T extends unknown>(map: Record<string, T>, defaultValue: T) => (clientName: string) => T;
|
|
3
|
+
export declare const getCallAppLink: HyCustomJSAPI['getCallAppLink'];
|
|
4
|
+
export declare const getCallAppLinkCreator: (clientName: string) => (params: import("@hylid/types/lib/custom/appLink").AppLinkParams) => string;
|
|
5
|
+
export declare const getAppScanLink: HyCustomJSAPI['getAppScanLink'];
|
|
6
|
+
export declare const getAppScanLinkCreator: (clientName: string) => (params: import("@hylid/types/lib/custom/appLink").AppLinkParams) => string;
|
|
7
|
+
export declare const getGeneralAppInfo: GetGeneralAppInfo;
|
|
8
|
+
export declare const getGeneralAppInfoCreator: (clientName: string) => GetGeneralAppInfo;
|
package/lib/bridge.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var _a, _b, _c;
|
|
2
|
+
import { clientEnv, CLIENT } from '@hylid/env';
|
|
3
|
+
import { notFound } from '@hylid/call';
|
|
4
|
+
import { getCallAppLink as alipayGetCallAppLink } from "./common/alipay";
|
|
5
|
+
import { getCallAppLink as alipayhkGetCallAppLink } from "./common/alipayhk";
|
|
6
|
+
import { getCallAppLink as danaGetCallAppLink } from "./common/dana";
|
|
7
|
+
import { getCallAppLink as gcashGetCallAppLink } from "./common/gcash";
|
|
8
|
+
import { getCallAppLink as mpayGetCallAppLink } from "./common/mpay";
|
|
9
|
+
import { getCallAppLink as tngdGetCallAppLink } from "./common/tngd";
|
|
10
|
+
import { getCallAppLink as tossGetCallAppLink } from "./common/toss";
|
|
11
|
+
import { getCallAppLink as truemoneyGetCallAppLink } from "./common/truemoney";
|
|
12
|
+
import { getAppScanLink as alipayGetAppScanLink } from "./common/alipay/getAppScanLink";
|
|
13
|
+
import { getAppScanLink as alipayhkGetAppScanLink } from "./common/alipayhk/getAppScanLink";
|
|
14
|
+
import { getAppScanLink as danaGetAppScanLink } from "./common/dana/getAppScanLink";
|
|
15
|
+
import { getAppScanLink as gcashGetAppScanLink } from "./common/gcash/getAppScanLink";
|
|
16
|
+
import { getAppScanLink as mpayGetAppScanLink } from "./common/mpay/getAppScanLink";
|
|
17
|
+
import { getAppScanLink as tmnGetAppScanLink } from "./common/truemoney/getAppScanLink";
|
|
18
|
+
import { getAppScanLink as tngdGetAppScanLink } from "./common/tngd/getAppScanLink";
|
|
19
|
+
import { getAppScanLink as tossGetAppScanLink } from "./common/toss/getAppScanLink";
|
|
20
|
+
import { getGeneralAppInfo as alipayGetGeneralAppInfo } from "./common/alipay/getGeneralAppInfo";
|
|
21
|
+
import { getGeneralAppInfo as alipayhkGetGeneralAppInfo } from "./common/alipayhk/getGeneralAppInfo";
|
|
22
|
+
import { getGeneralAppInfo as danaGetGeneralAppInfo } from "./common/dana/getGeneralAppInfo";
|
|
23
|
+
import { getGeneralAppInfo as gcashGetGeneralAppInfo } from "./common/gcash/getGeneralAppInfo";
|
|
24
|
+
import { getGeneralAppInfo as mpayGetGeneralAppInfo } from "./common/mpay/getGeneralAppInfo";
|
|
25
|
+
import { getGeneralAppInfo as tngdGetGeneralAppInfo } from "./common/tngd/getGeneralAppInfo";
|
|
26
|
+
import { getGeneralAppInfo as tossGetGeneralAppInfo } from "./common/toss/getGeneralAppInfo";
|
|
27
|
+
import { getGeneralAppInfo as truemoneyGetGeneralAppInfo } from "./common/truemoney/getGeneralAppInfo";
|
|
28
|
+
export var bySpecificClient = function bySpecificClient(map, defaultValue) {
|
|
29
|
+
return function (clientName) {
|
|
30
|
+
return map[clientName] || defaultValue;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export var getCallAppLink = function getCallAppLink() {
|
|
34
|
+
var args = [];
|
|
35
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
36
|
+
args[_i] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
if (clientEnv.isALIPAY) return alipayGetCallAppLink.apply(void 0, args);
|
|
39
|
+
if (clientEnv.isALIPAYHK) return alipayhkGetCallAppLink.apply(void 0, args);
|
|
40
|
+
if (clientEnv.isDANA) return danaGetCallAppLink.apply(void 0, args);
|
|
41
|
+
if (clientEnv.isGCASH) return gcashGetCallAppLink.apply(void 0, args);
|
|
42
|
+
if (clientEnv.isMPAY) return mpayGetCallAppLink.apply(void 0, args);
|
|
43
|
+
if (clientEnv.isTNGD) return tngdGetCallAppLink.apply(void 0, args);
|
|
44
|
+
if (clientEnv.isTOSSPAY) return tossGetCallAppLink.apply(void 0, args);
|
|
45
|
+
if (clientEnv.isTRUEMONEY) return truemoneyGetCallAppLink.apply(void 0, args);
|
|
46
|
+
return notFound('getCallAppLink');
|
|
47
|
+
};
|
|
48
|
+
export var getCallAppLinkCreator = bySpecificClient((_a = {}, _a[CLIENT.ALIPAY] = alipayGetCallAppLink, _a[CLIENT.ALIPAYHK] = alipayhkGetCallAppLink, _a[CLIENT.DANA] = danaGetCallAppLink, _a[CLIENT.GCASH] = gcashGetCallAppLink, _a[CLIENT.MPAY] = mpayGetCallAppLink, _a[CLIENT.TNGD] = tngdGetCallAppLink, _a[CLIENT.TOSSPAY] = tossGetCallAppLink, _a[CLIENT.TRUEMONEY] = truemoneyGetCallAppLink, _a), function () {
|
|
49
|
+
return notFound('getCallAppLink');
|
|
50
|
+
});
|
|
51
|
+
export var getAppScanLink = function getAppScanLink() {
|
|
52
|
+
var args = [];
|
|
53
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
54
|
+
args[_i] = arguments[_i];
|
|
55
|
+
}
|
|
56
|
+
if (clientEnv.isALIPAY) return alipayGetAppScanLink.apply(void 0, args);
|
|
57
|
+
if (clientEnv.isALIPAYHK) return alipayhkGetAppScanLink.apply(void 0, args);
|
|
58
|
+
if (clientEnv.isDANA) return danaGetAppScanLink.apply(void 0, args);
|
|
59
|
+
if (clientEnv.isGCASH) return gcashGetAppScanLink.apply(void 0, args);
|
|
60
|
+
if (clientEnv.isMPAY) return mpayGetAppScanLink.apply(void 0, args);
|
|
61
|
+
if (clientEnv.isTRUEMONEY) return tmnGetAppScanLink.apply(void 0, args);
|
|
62
|
+
if (clientEnv.isTNGD) return tngdGetAppScanLink.apply(void 0, args);
|
|
63
|
+
if (clientEnv.isTOSSPAY) return tossGetAppScanLink.apply(void 0, args);
|
|
64
|
+
return notFound('getAppScanLink');
|
|
65
|
+
};
|
|
66
|
+
export var getAppScanLinkCreator = bySpecificClient((_b = {}, _b[CLIENT.ALIPAY] = alipayGetAppScanLink, _b[CLIENT.ALIPAYHK] = alipayhkGetAppScanLink, _b[CLIENT.DANA] = danaGetAppScanLink, _b[CLIENT.GCASH] = gcashGetAppScanLink, _b[CLIENT.MPAY] = mpayGetAppScanLink, _b[CLIENT.TRUEMONEY] = tmnGetAppScanLink, _b[CLIENT.TNGD] = tngdGetAppScanLink, _b[CLIENT.TOSSPAY] = tossGetAppScanLink, _b), function () {
|
|
67
|
+
return notFound('getAppScanLink');
|
|
68
|
+
});
|
|
69
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
70
|
+
if (clientEnv.isALIPAY) return alipayGetGeneralAppInfo();
|
|
71
|
+
if (clientEnv.isALIPAYHK) return alipayhkGetGeneralAppInfo();
|
|
72
|
+
if (clientEnv.isDANA) return danaGetGeneralAppInfo();
|
|
73
|
+
if (clientEnv.isGCASH) return gcashGetGeneralAppInfo();
|
|
74
|
+
if (clientEnv.isMPAY) return mpayGetGeneralAppInfo();
|
|
75
|
+
if (clientEnv.isTNGD) return tngdGetGeneralAppInfo();
|
|
76
|
+
if (clientEnv.isTOSSPAY) return tossGetGeneralAppInfo();
|
|
77
|
+
if (clientEnv.isTRUEMONEY) return truemoneyGetGeneralAppInfo();
|
|
78
|
+
return notFound('getGeneralAppInfo');
|
|
79
|
+
};
|
|
80
|
+
export var getGeneralAppInfoCreator = bySpecificClient((_c = {}, _c[CLIENT.ALIPAY] = alipayGetGeneralAppInfo, _c[CLIENT.ALIPAYHK] = alipayhkGetGeneralAppInfo, _c[CLIENT.DANA] = danaGetGeneralAppInfo, _c[CLIENT.GCASH] = gcashGetGeneralAppInfo, _c[CLIENT.MPAY] = mpayGetGeneralAppInfo, _c[CLIENT.TNGD] = tngdGetGeneralAppInfo, _c[CLIENT.TOSSPAY] = tossGetGeneralAppInfo, _c[CLIENT.TRUEMONEY] = truemoneyGetGeneralAppInfo, _c), function () {
|
|
81
|
+
return notFound('getGeneralAppInfo');
|
|
82
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAppScanLink: (params: import("@hylid/types/lib/custom/appLink").AppLinkParams) => string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
|
+
var __assign = this && this.__assign || function () {
|
|
3
|
+
__assign = Object.assign || function (t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { stringify } from 'qs-es5';
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
// 支付宝 h5 不支持 page, debugConfig
|
|
15
|
+
var _a = opt || {},
|
|
16
|
+
appId = _a.appId,
|
|
17
|
+
url = _a.url,
|
|
18
|
+
query = _a.query;
|
|
19
|
+
var params = {
|
|
20
|
+
appId: appId
|
|
21
|
+
};
|
|
22
|
+
if (url) {
|
|
23
|
+
if (_typeof(url) === 'object') {
|
|
24
|
+
// 支付宝 h5 key 值始终固定为 url
|
|
25
|
+
params.url = url.value;
|
|
26
|
+
} else {
|
|
27
|
+
params.url = url;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (query) {
|
|
31
|
+
// 打平参数,来支持高级配置,参考文档:https://yuque.antfin.com/fish-pond/stdlib/vtmwsh#jKA1U
|
|
32
|
+
params = __assign(__assign({}, params), query);
|
|
33
|
+
}
|
|
34
|
+
return 'alipays://platformapi/startapp?' + stringify(params);
|
|
35
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'com.eg.android.AlipayGphone';
|
|
3
|
+
var iOSAppId = 'id333206289';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/f74bd9e9-574d-4885-b2fd-5fe4c7686d2e.png',
|
|
6
|
+
walletName: '支付宝',
|
|
7
|
+
appIcon: 'https://mdn.alipayobjects.com/huamei_h92na1/afts/img/A*cr4XSo2bHXUAAAAAAAAAAAAADh2VAQ/original',
|
|
8
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
9
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
10
|
+
iOSAppId: iOSAppId,
|
|
11
|
+
androidAppId: androidAppId,
|
|
12
|
+
pspId: '1022088000000000001'
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getAppScanLink = function getAppScanLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
appId: appId,
|
|
20
|
+
// griver android 存在多次解码导致参数丢失,这里多进行一次编码,进行兼容处理
|
|
21
|
+
page: getCallAppPage(opt, true)
|
|
22
|
+
};
|
|
23
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
24
|
+
var token = debugConfig.token,
|
|
25
|
+
version = debugConfig.version;
|
|
26
|
+
params = __assign(__assign({}, params), {
|
|
27
|
+
nbsource: 'debug',
|
|
28
|
+
nbsn: 'INSTALL',
|
|
29
|
+
nbsv: version,
|
|
30
|
+
token: token
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (query) {
|
|
34
|
+
params = __assign(__assign({}, params), {
|
|
35
|
+
query: stringify(query)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return 'alipayhk://platformapi/startapp?' + stringify(params);
|
|
39
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
appId: appId,
|
|
20
|
+
page: getCallAppPage(opt)
|
|
21
|
+
};
|
|
22
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
23
|
+
var token = debugConfig.token,
|
|
24
|
+
version = debugConfig.version;
|
|
25
|
+
params = __assign(__assign({}, params), {
|
|
26
|
+
nbsource: 'debug',
|
|
27
|
+
nbsn: 'INSTALL',
|
|
28
|
+
nbsv: version,
|
|
29
|
+
token: token
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
if (query) {
|
|
33
|
+
params = __assign(__assign({}, params), {
|
|
34
|
+
query: stringify(query)
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return 'alipayhk://platformapi/startapp?' + stringify(params);
|
|
38
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'hk.alipay.wallet';
|
|
3
|
+
var iOSAppId = 'id1210638245';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/9ae14cb8-c6c2-4a08-9ec5-063d3c5e903a.png',
|
|
6
|
+
walletName: 'AlipayHK',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: '1022160000000000000'
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from '../../utils/getAppScanLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from "../../utils/getAppScanLink";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
13
|
+
var _a = opt || {},
|
|
14
|
+
appId = _a.appId,
|
|
15
|
+
query = _a.query,
|
|
16
|
+
debugConfig = _a.debugConfig,
|
|
17
|
+
page = _a.page;
|
|
18
|
+
var destinationPath = encodeURIComponent(page);
|
|
19
|
+
var params = {};
|
|
20
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
21
|
+
var token = debugConfig.token,
|
|
22
|
+
version = debugConfig.version;
|
|
23
|
+
params = __assign(__assign({}, params), {
|
|
24
|
+
nbsource: 'debug',
|
|
25
|
+
nbsn: 'INSTALL',
|
|
26
|
+
nbsv: version,
|
|
27
|
+
token: token
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
if (query) {
|
|
31
|
+
params = __assign(__assign({}, params), query);
|
|
32
|
+
}
|
|
33
|
+
var extendedInfo = {
|
|
34
|
+
query: stringify(params)
|
|
35
|
+
};
|
|
36
|
+
return "https://link.dana.id/miniprogram?params=[appId=".concat(appId, "]&destinationPath=").concat(destinationPath, "&extendedInfo=").concat(encodeURIComponent(JSON.stringify(extendedInfo)));
|
|
37
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'id.dana';
|
|
3
|
+
var iOSAppId = 'id1437123008';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/38e3c3d4-aa12-4d5a-9a9b-bd158f4b4382.png',
|
|
6
|
+
walletName: 'DANA',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: '' // TODO: 待补充
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from '../../utils/getAppScanLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from "../../utils/getAppScanLink";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'query-string';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
_ariver_appid: appId,
|
|
20
|
+
_ariver_path: getCallAppPage(opt)
|
|
21
|
+
};
|
|
22
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
23
|
+
var token = debugConfig.token,
|
|
24
|
+
version = debugConfig.version;
|
|
25
|
+
params = __assign(__assign({}, params), {
|
|
26
|
+
_ariver_source: 'debug',
|
|
27
|
+
_ariver_scene: 'INSTALL',
|
|
28
|
+
_ariver_version: version,
|
|
29
|
+
_ariver_token: token
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
if (query) {
|
|
33
|
+
params = __assign(__assign({}, params), {
|
|
34
|
+
query: stringify(query)
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
var link = {
|
|
38
|
+
url: 'mini://platformapi/startapp?' + stringify(params, {
|
|
39
|
+
encode: false
|
|
40
|
+
})
|
|
41
|
+
};
|
|
42
|
+
return 'gcash://com.mynt.gcash/app/006300000200?' + stringify(link);
|
|
43
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'com.globe.gcash.android';
|
|
3
|
+
var iOSAppId = 'id520020791';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/7e20ab56-f44e-4c2e-9897-4b74d9aeff09.png',
|
|
6
|
+
walletName: 'GCASH',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: '1022170000000000000'
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAppScanLink: (params: import("@hylid/types/lib/custom/appLink").AppLinkParams) => string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query;
|
|
17
|
+
var params = {
|
|
18
|
+
aid: appId,
|
|
19
|
+
page: getCallAppPage(opt)
|
|
20
|
+
};
|
|
21
|
+
if (query) {
|
|
22
|
+
params = __assign(__assign({}, params), {
|
|
23
|
+
query: stringify(query)
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return 'mpayshare://platformapi/startApp?pid=tiny&' + stringify(params);
|
|
27
|
+
};
|
|
28
|
+
// 中转页:https://share.macaupass.com/callApp/index.html?pid=tiny&aid=生产ID
|
|
29
|
+
// AL/UL:https://jump.macaupass.com/startapp/downMPay/index.html?pid=tiny&aid=生产ID
|
|
30
|
+
// Scheme:mpayshare://platformapi/startApp?pid=tiny&aid=生产ID
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = '';
|
|
3
|
+
var iOSAppId = '';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/c7dfdf58-7cb9-4c75-b914-4e28ffb825c6.png',
|
|
6
|
+
walletName: 'MPay',
|
|
7
|
+
iosDownloadLink: 'https://jump.macaupass.com/startapp/downMPay/index.html',
|
|
8
|
+
androidDownloadLink: 'https://jump.macaupass.com/startapp/downMPay/index.html',
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: 'A111253100000000'
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from '../../utils/getAppScanLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from "../../utils/getAppScanLink";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
mpid: appId,
|
|
20
|
+
// griver android 存在多次解码导致参数丢失,这里多进行一次编码,进行兼容处理
|
|
21
|
+
path: getCallAppPage(opt, true)
|
|
22
|
+
};
|
|
23
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
24
|
+
var token = debugConfig.token,
|
|
25
|
+
version = debugConfig.version;
|
|
26
|
+
params = __assign(__assign({}, params), {
|
|
27
|
+
_ariver_source: 'debug',
|
|
28
|
+
_ariver_scene: 'INSTALL',
|
|
29
|
+
_ariver_version: version,
|
|
30
|
+
_ariver_token: token
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (query) {
|
|
34
|
+
params = __assign(__assign({}, params), {
|
|
35
|
+
query: stringify(query)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return 'tngdwallet://client/dl/mp?' + stringify(params);
|
|
39
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'my.com.tngdigital.ewallet';
|
|
3
|
+
var iOSAppId = 'id1344696702';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/2701596a-8290-44a4-b759-5e8b5e7eb94a.png',
|
|
6
|
+
walletName: 'TNG eWallet',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: '1022171000000000001'
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from '../../utils/getAppScanLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from "../../utils/getAppScanLink";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
_ariver_appid: appId,
|
|
20
|
+
// griver android 存在多次解码导致参数丢失,这里多进行一次编码,进行兼容处理
|
|
21
|
+
_ariver_path: getCallAppPage(opt, true)
|
|
22
|
+
};
|
|
23
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
24
|
+
var token = debugConfig.token,
|
|
25
|
+
version = debugConfig.version;
|
|
26
|
+
params = __assign(__assign({}, params), {
|
|
27
|
+
_ariver_source: 'debug',
|
|
28
|
+
_ariver_scene: 'INSTALL',
|
|
29
|
+
_ariver_version: version,
|
|
30
|
+
_ariver_token: token
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (query) {
|
|
34
|
+
params = __assign(__assign({}, params), {
|
|
35
|
+
query: stringify(query)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
var link = 'mini://platformapi/startapp?' + stringify(params);
|
|
39
|
+
return 'supertoss://alipay/miniprogram/openUrl?url=' + encodeURIComponent(link);
|
|
40
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'viva.republica.toss';
|
|
3
|
+
var iOSAppId = 'id839333328';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/iquic-mng/prod/common/png/b404bfa1-306d-4c9b-acdd-f5c1011b6844.png',
|
|
6
|
+
walletName: 'Toss',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: 'A111254300000000'
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from '../../utils/getAppScanLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAppScanLink } from "../../utils/getAppScanLink";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "../../utils";
|
|
13
|
+
export var getCallAppLink = function getCallAppLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var methodParams = {
|
|
19
|
+
app_id: appId,
|
|
20
|
+
// griver android 存在多次解码导致参数丢失,这里多进行一次编码,进行兼容处理
|
|
21
|
+
page: getCallAppPage(opt, true)
|
|
22
|
+
};
|
|
23
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
24
|
+
var token = debugConfig.token,
|
|
25
|
+
version = debugConfig.version;
|
|
26
|
+
methodParams = __assign(__assign({}, methodParams), {
|
|
27
|
+
_ariver_source: 'debug',
|
|
28
|
+
_ariver_scene: 'INSTALL',
|
|
29
|
+
_ariver_version: version,
|
|
30
|
+
_ariver_token: token
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (query) {
|
|
34
|
+
methodParams = __assign(__assign({}, methodParams), {
|
|
35
|
+
query: stringify(query)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
var params = {
|
|
39
|
+
type: 'alipayreward',
|
|
40
|
+
method: JSON.stringify(methodParams)
|
|
41
|
+
};
|
|
42
|
+
return 'https://tmn.app.link/?deeplink=ascendmoney://wallet.truemoney.co.th/app/660000000029?' + encodeURIComponent(stringify(params));
|
|
43
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var getGeneralAppInfo = function getGeneralAppInfo() {
|
|
2
|
+
var androidAppId = 'th.co.truemoney.wallet';
|
|
3
|
+
var iOSAppId = 'id1345776130';
|
|
4
|
+
return {
|
|
5
|
+
walletLogo: 'https://cdn.marmot-cloud.com/storage/2024/08/26/f03c335e-4234-4d4d-9237-f1fab935c275.png',
|
|
6
|
+
walletName: 'TrueMoney',
|
|
7
|
+
iosDownloadLink: "itms-apps://itunes.apple.com/app/".concat(iOSAppId),
|
|
8
|
+
androidDownloadLink: "market://details?id=".concat(androidAppId),
|
|
9
|
+
iOSAppId: iOSAppId,
|
|
10
|
+
androidAppId: androidAppId,
|
|
11
|
+
pspId: '1022167000000000001'
|
|
12
|
+
};
|
|
13
|
+
};
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './bridge';
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./bridge";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import { stringify } from 'qs-es5';
|
|
12
|
+
import { getCallAppPage } from "./getCallAppPage";
|
|
13
|
+
export var getAppScanLink = function getAppScanLink(opt) {
|
|
14
|
+
var _a = opt || {},
|
|
15
|
+
appId = _a.appId,
|
|
16
|
+
query = _a.query,
|
|
17
|
+
debugConfig = _a.debugConfig;
|
|
18
|
+
var params = {
|
|
19
|
+
_ariver_appid: appId,
|
|
20
|
+
// griver android 存在多次解码导致参数丢失,这里多进行一次编码,进行兼容处理
|
|
21
|
+
_ariver_path: getCallAppPage(opt, true)
|
|
22
|
+
};
|
|
23
|
+
if (debugConfig === null || debugConfig === void 0 ? void 0 : debugConfig.version) {
|
|
24
|
+
var token = debugConfig.token,
|
|
25
|
+
version = debugConfig.version;
|
|
26
|
+
params = __assign(__assign({}, params), {
|
|
27
|
+
_ariver_source: 'debug',
|
|
28
|
+
_ariver_scene: 'INSTALL',
|
|
29
|
+
_ariver_version: version,
|
|
30
|
+
_ariver_token: token
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (query) {
|
|
34
|
+
params = __assign(__assign({}, params), {
|
|
35
|
+
query: stringify(query)
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return 'mini://platformapi/startapp?' + stringify(params);
|
|
39
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
|
+
import { stringify } from 'qs-es5';
|
|
3
|
+
export var getCallAppPage = function getCallAppPage(params, encodeUrl) {
|
|
4
|
+
var _a;
|
|
5
|
+
var _b = params || {},
|
|
6
|
+
url = _b.url,
|
|
7
|
+
page = _b.page;
|
|
8
|
+
if (!url) {
|
|
9
|
+
return page;
|
|
10
|
+
}
|
|
11
|
+
var urlQuery = '';
|
|
12
|
+
if (_typeof(url) === 'object') {
|
|
13
|
+
urlQuery = stringify((_a = {}, _a[url.key] = encodeUrl ? encodeURIComponent(url.value) : url.value, _a));
|
|
14
|
+
} else {
|
|
15
|
+
urlQuery = stringify({
|
|
16
|
+
url: encodeUrl ? encodeURIComponent(url) : url
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return page ? "".concat(page).concat(page.indexOf('?') === -1 ? '?' : '&').concat(urlQuery) : "/pages/index/index?".concat(urlQuery);
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getCallAppPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./getCallAppPage";
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hylid/custom-jsapi",
|
|
3
|
+
"version": "0.0.2-dev.1",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"files": [
|
|
6
|
+
"lib"
|
|
7
|
+
],
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@hylid/call": "^0.0.2-dev.1",
|
|
13
|
+
"@hylid/env": "^0.0.2-dev.1",
|
|
14
|
+
"@hylid/types": "^0.0.2-dev.1",
|
|
15
|
+
"qs-es5": "^6.8.4"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"registry": "https://registry.npmjs.org/"
|
|
20
|
+
}
|