@hylid/call 3.0.0-alpha.12 → 3.0.0-alpha.13
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/mpWebCall.js +2 -12
- package/package.json +3 -3
package/lib/mpWebCall.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
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
1
|
var loadAppxBridge = function loadAppxBridge(cb) {
|
|
12
2
|
var _a;
|
|
13
3
|
try {
|
|
@@ -16,14 +6,14 @@ var loadAppxBridge = function loadAppxBridge(cb) {
|
|
|
16
6
|
cb && cb("ready" /* BridgeReady.READY */);
|
|
17
7
|
return;
|
|
18
8
|
}
|
|
19
|
-
var
|
|
9
|
+
var hyMy_1 = window.my || {};
|
|
20
10
|
var script_1 = document.createElement('script');
|
|
21
11
|
script_1.src = 'https://appx/web-view.min.js';
|
|
22
12
|
script_1.onload = function onload() {
|
|
23
13
|
var readyState = script_1['readyState'];
|
|
24
14
|
if (typeof readyState === 'undefined' || /^(loaded|complete)$/.test(readyState)) {
|
|
25
15
|
script_1.onload = null;
|
|
26
|
-
|
|
16
|
+
Object.assign(window.my, hyMy_1, {
|
|
27
17
|
__hy_mounted__: true
|
|
28
18
|
});
|
|
29
19
|
cb && cb("loaded" /* BridgeReady.LOADED */);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hylid/call",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.13",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
7
7
|
],
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@hylid/env": "^3.0.0-alpha.
|
|
10
|
-
"@hylid/types": "^3.0.0-alpha.
|
|
9
|
+
"@hylid/env": "^3.0.0-alpha.13",
|
|
10
|
+
"@hylid/types": "^3.0.0-alpha.13"
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"access": "public"
|