@revues/web-sdk-core 1.0.5 → 1.0.6
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/dist/web-sdk-core.js +3 -3
- package/package.json +2 -2
package/dist/web-sdk-core.js
CHANGED
|
@@ -4273,9 +4273,9 @@
|
|
|
4273
4273
|
// polyfill api 既可以运行在 web 也能运行在 app 端。
|
|
4274
4274
|
function createPolyfillApis(apis, interceptors) {
|
|
4275
4275
|
var interceptors$1 = interceptors || {};
|
|
4276
|
-
return Object.keys(apis).reduce(function (
|
|
4276
|
+
return Object.keys(apis).reduce(function (newApis, key) {
|
|
4277
4277
|
var patchApi = apis[key];
|
|
4278
|
-
|
|
4278
|
+
newApis[key] = function () {
|
|
4279
4279
|
var _a;
|
|
4280
4280
|
var args = [];
|
|
4281
4281
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -4313,7 +4313,7 @@
|
|
|
4313
4313
|
return context.callPatchApi.apply(context, args);
|
|
4314
4314
|
}
|
|
4315
4315
|
};
|
|
4316
|
-
return
|
|
4316
|
+
return newApis;
|
|
4317
4317
|
}, {});
|
|
4318
4318
|
}
|
|
4319
4319
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revues/web-sdk-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "loler",
|
|
6
6
|
"homepage": "",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/howler": "^2.2.11"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "fc514057e58c3ad25f4552876d82229d813781a3"
|
|
34
34
|
}
|