@galacean/effects-plugin-alipay-downgrade 2.1.4 → 2.1.5

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/alipay.js CHANGED
@@ -650,7 +650,7 @@ if (canUseBOM) {
650
650
 
651
651
  /**
652
652
  * 插件版本号
653
- */ var version = "2.1.4";
653
+ */ var version = "2.1.5";
654
654
  EFFECTS.registerPlugin("alipay-downgrade", AlipayDowngradePlugin, EFFECTS.VFXItem, true);
655
655
  EFFECTS.logger.info("Plugin downgrade version: " + version + ".");
656
656
  if (version !== EFFECTS__namespace.version) {
package/dist/alipay.mjs CHANGED
@@ -627,7 +627,7 @@ if (canUseBOM) {
627
627
 
628
628
  /**
629
629
  * 插件版本号
630
- */ var version = "2.1.4";
630
+ */ var version = "2.1.5";
631
631
  registerPlugin("alipay-downgrade", AlipayDowngradePlugin, VFXItem, true);
632
632
  logger.info("Plugin downgrade version: " + version + ".");
633
633
  if (version !== EFFECTS.version) {
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player downgrade plugin for Alipay
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,意绮,飂兮
6
- * Version: v2.1.4
6
+ * Version: v2.1.5
7
7
  */
8
8
 
9
9
  'use strict';
@@ -657,7 +657,7 @@ if (canUseBOM) {
657
657
 
658
658
  /**
659
659
  * 插件版本号
660
- */ var version = "2.1.4";
660
+ */ var version = "2.1.5";
661
661
  EFFECTS.registerPlugin("alipay-downgrade", AlipayDowngradePlugin, EFFECTS.VFXItem, true);
662
662
  EFFECTS.logger.info("Plugin downgrade version: " + version + ".");
663
663
  if (version !== EFFECTS__namespace.version) {
package/dist/index.min.js CHANGED
@@ -3,6 +3,6 @@
3
3
  * Description: Galacean Effects player downgrade plugin for Alipay
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,意绮,飂兮
6
- * Version: v2.1.4
7
- */function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@galacean/effects")):"function"==typeof define&&define.amd?define(["exports","@galacean/effects"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).ge=e.ge||{},e.ge.alipayDowngradePlugin={}),e.ge)}(this,function(e,n){"use strict";var r,t=function(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:function(){return e[r]}})}}),n.default=e,Object.freeze(n)}(n);function o(e,n,r,t,o,i,l){try{var a=e[i](l),s=a.value}catch(e){r(e);return}a.done?n(s):Promise.resolve(s).then(t,o)}function i(e){return function(){var n=this,r=arguments;return new Promise(function(t,i){var l=e.apply(n,r);function a(e){o(l,t,i,a,s,"next",e)}function s(e){o(l,t,i,a,s,"throw",e)}a(void 0)})}}function l(e,n){return(l=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function a(e,n){var r,t,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(l=0)),l;)try{if(r=1,t&&(o=2&a[0]?t.return:a[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,a[1])).done)return o;switch(t=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,t=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=n.call(e,l)}catch(e){a=[6,e],t=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function s(){return(s=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e}).apply(this,arguments)}"function"==typeof SuppressedError&&SuppressedError,e.DeviceLevel=void 0,(r=e.DeviceLevel||(e.DeviceLevel={})).High="high",r.Medium="medium",r.Low="low",r.Unknown="unknown";var u=["12,8","13,1","13,2","13,3","13,4"],c=function(){function r(){this.isIOS=!1,this.model="DESKTOP_DEBUG",this.system="Unknown",this.level=e.DeviceLevel.Unknown,this.isDowngrade=!1}var t=r.prototype;return t.setSystemInfo=function(e){var n=e.performance,r=e.platform,t=e.model,o=e.system;this.isIOS="iOS"===r,this.model=void 0===t?"UNKNOWN_DEVICE":t,this.system=void 0===o?"Unknown":o,this.setLevel(n)},t.getDowngradeDecision=function(r){var t=void 0,o=void 0;if(r.error)return{downgrade:4!==r.error,level:this.getRenderLevel(),reason:"api error: "+r.error};try{var i=n.isString(r)?JSON.parse(r):r;if("downgradeResultType"in i?t=i.downgradeResultType:"resultType"in i&&(t=i.resultType,o=i.resultReason),r.context){var l=r.context.deviceInfo;if(l){var a=l.deviceLevel,s=d(a);s!==e.DeviceLevel.Unknown&&(this.level=s)}}}catch(e){n.logger.error(e)}return void 0===t?{downgrade:!0,level:this.getRenderLevel(),reason:"call downgrade fail"}:1===t?{downgrade:!0,level:this.getRenderLevel(),reason:function(e){if(-1===e)return""+e+", unable to pull configuration";if(0===e)return""+e+", no downgrade";if(1===e)return""+e+", memory downgrade";if(2===e)return""+e+", crash downgrade";if(3===e)return""+e+", basic dimension downgrade";if(4===e)return""+e+", technical point downgrade";if(5===e)return""+e+", GPU downgrade";else if(6===e)return""+e+", self-healing downgrade";else if(7===e)return""+e+", 32-bit CPU downgrade";else return""+e}(o)}:n.isAlipayMiniApp()&&this.downgradeForMiniprogram()?{downgrade:!0,level:this.getRenderLevel(),reason:"Force downgrade by downgrade plugin"}:{downgrade:!1,level:this.getRenderLevel(),reason:""+t}},t.getRenderLevel=function(){return this.level===e.DeviceLevel.High?n.spec.RenderLevel.S:this.level===e.DeviceLevel.Medium?n.spec.RenderLevel.A:this.level===e.DeviceLevel.Low?n.spec.RenderLevel.B:this.isIOS?n.spec.RenderLevel.S:n.spec.RenderLevel.B},t.setLevel=function(n){if(this.level=d(n),this.level===e.DeviceLevel.Unknown&&/iPhone(\d+),/.test(this.model)){var r=+RegExp.$1;r<=9?this.level=e.DeviceLevel.Low:r<10?this.level=e.DeviceLevel.Medium:this.level=e.DeviceLevel.High}},t.downgradeForMiniprogram=function(){var e=this;if(this.isIOS&&u.find(function(n){return n===e.model})){var n=this.system.split(".");if(n.length>0&&"16"===n[0])return!0}return!1},r}();function d(n){return"high"===n?e.DeviceLevel.High:"medium"===n||"middle"===n?e.DeviceLevel.Medium:"low"===n?e.DeviceLevel.Low:e.DeviceLevel.Unknown}var f=Symbol("@@_inter_pause"),v="mock-fail",p=!1,g="undefined"!=typeof window;function h(){return(h=i(function(e,r){var t,o,i,l,u;return a(this,function(a){var d;return(void 0===r&&(r={}),g)?(p||(p=!0,d=r.autoPause,window.addEventListener("unload",function(){n.getActivePlayers().forEach(function(e){return e.dispose()})}),d&&(document.addEventListener("pause",L),document.addEventListener("resume",b))),e===v||"mock-pass"===e)?[2,Promise.resolve({bizId:e,downgrade:e===v,level:null!=(o=r.level)?o:n.spec.RenderLevel.S,reason:"mock"})]:(i=n.isAlipayMiniApp()?my:window.AlipayJSBridge)||r.systemInfo&&r.downgradeResult?(u=performance.now(),[2,(function(e,n){return w.apply(this,arguments)})(r,i).then(function(t){var o=performance.now();return(function(e,n,r){return y.apply(this,arguments)})(e,r,i).then(function(i){var l=performance.now();n.logger.info("Downgrade time: "+(l-u)+"ms.");var a=new c;a.setSystemInfo(t);var d=a.getDowngradeDecision(i);return r.level&&(d.level=r.level),s({},d,{bizId:e,systemInfo:t,systemTime:o-u,downgradeResult:i,downgradeTime:l-o})})})]):[2,{bizId:e,downgrade:!1,level:null!=(l=r.level)?l:n.spec.RenderLevel.S,reason:"Non-Alipay environment"}]:[2,Promise.resolve({bizId:e,downgrade:!0,level:null!=(t=r.level)?t:n.spec.RenderLevel.S,reason:"当前环境无法访问 window"})]})})).apply(this,arguments)}function w(){return(w=i(function(e,n){return a(this,function(r){return e.systemInfo?[2,Promise.resolve(e.systemInfo)]:[2,new Promise(function(e,r){n.call("getSystemInfo",function(n){n.error?r(n):e(n)})})]})})).apply(this,arguments)}function y(){return(y=i(function(e,n,r){return a(this,function(t){return n.downgradeResult?[2,Promise.resolve(n.downgradeResult)]:[2,new Promise(function(t,o){var i,l=["mars"],a=n.techPoint;a&&l.push.apply(l,[].concat(a)),(null!=(i=n.callBridge)?i:r.call)("getDowngradeResult",{bizId:e,scene:0,ext:{techPoint:l}},function(e){t(e)})})]})})).apply(this,arguments)}function m(){return n.isIOS()?n.spec.RenderLevel.S:n.spec.RenderLevel.B}function L(e){e.target===document&&(n.logger.info("Auto pause all players with data offloaded."),n.getActivePlayers().forEach(function(e){e.paused||(e.pause({offloadTexture:!0}),e[f]=!0)}))}function b(e){e.target===document&&(n.logger.info("Auto resume all players."),n.getActivePlayers().forEach(function(e){e[f]&&(e.resume(),e[f]=!1)}))}var D=function(e){function r(){return e.apply(this,arguments)}return!function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&l(e,n)}(r,e),r.processRawJSON=function(e,r){return void 0===r&&(r={}),i(function(){var e,t,o;return a(this,function(i){if(t=null==(e=r.pluginData)?void 0:e.downgrade){if(t.downgrade)throw Error("Downgraded, reason: "+t.reason)}else n.logger.warn("No downgrade result in pluginData of SceneLoadOptions.");return r.renderLevel||(r.renderLevel=null!=(o=null==t?void 0:t.level)?o:m()),[2]})})()},r}(n.AbstractPlugin);if(g){var P=n.isAlipayMiniApp()?my:window.AlipayJSBridge;n.logger.register(function(e,r){for(var t=arguments.length,o=Array(t>2?t-2:0),i=2;i<t;i++)o[i-2]=arguments[i];var l={message:"[Galacean Effects] "+r+" "+o.join(""),level:e};n.isAndroid()&&(l.anr_info="mars");try{null==P||P.call("localLog",l)}catch(e){console.error(e)}})}var R="2.1.4";n.registerPlugin("alipay-downgrade",D,n.VFXItem,!0),n.logger.info("Plugin downgrade version: "+R+"."),R!==t.version&&console.error("注意:请统一 Downgrade 插件与 Player 版本,不统一的版本混用会有不可预知的后果!","\nAttention: Please ensure the Downgrade plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!"),e.canUseBOM=g,e.getDefaultRenderLevel=m,e.getDowngradeResult=function(e){return h.apply(this,arguments)},e.version=R,Object.defineProperty(e,"__esModule",{value:!0})});
6
+ * Version: v2.1.5
7
+ */function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@galacean/effects")):"function"==typeof define&&define.amd?define(["exports","@galacean/effects"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).ge=e.ge||{},e.ge.alipayDowngradePlugin={}),e.ge)}(this,function(e,n){"use strict";var r,t=function(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:function(){return e[r]}})}}),n.default=e,Object.freeze(n)}(n);function o(e,n,r,t,o,i,l){try{var a=e[i](l),s=a.value}catch(e){r(e);return}a.done?n(s):Promise.resolve(s).then(t,o)}function i(e){return function(){var n=this,r=arguments;return new Promise(function(t,i){var l=e.apply(n,r);function a(e){o(l,t,i,a,s,"next",e)}function s(e){o(l,t,i,a,s,"throw",e)}a(void 0)})}}function l(e,n){return(l=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function a(e,n){var r,t,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(l=0)),l;)try{if(r=1,t&&(o=2&a[0]?t.return:a[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,a[1])).done)return o;switch(t=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,t=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=n.call(e,l)}catch(e){a=[6,e],t=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function s(){return(s=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e}).apply(this,arguments)}"function"==typeof SuppressedError&&SuppressedError,e.DeviceLevel=void 0,(r=e.DeviceLevel||(e.DeviceLevel={})).High="high",r.Medium="medium",r.Low="low",r.Unknown="unknown";var u=["12,8","13,1","13,2","13,3","13,4"],c=function(){function r(){this.isIOS=!1,this.model="DESKTOP_DEBUG",this.system="Unknown",this.level=e.DeviceLevel.Unknown,this.isDowngrade=!1}var t=r.prototype;return t.setSystemInfo=function(e){var n=e.performance,r=e.platform,t=e.model,o=e.system;this.isIOS="iOS"===r,this.model=void 0===t?"UNKNOWN_DEVICE":t,this.system=void 0===o?"Unknown":o,this.setLevel(n)},t.getDowngradeDecision=function(r){var t=void 0,o=void 0;if(r.error)return{downgrade:4!==r.error,level:this.getRenderLevel(),reason:"api error: "+r.error};try{var i=n.isString(r)?JSON.parse(r):r;if("downgradeResultType"in i?t=i.downgradeResultType:"resultType"in i&&(t=i.resultType,o=i.resultReason),r.context){var l=r.context.deviceInfo;if(l){var a=l.deviceLevel,s=d(a);s!==e.DeviceLevel.Unknown&&(this.level=s)}}}catch(e){n.logger.error(e)}return void 0===t?{downgrade:!0,level:this.getRenderLevel(),reason:"call downgrade fail"}:1===t?{downgrade:!0,level:this.getRenderLevel(),reason:function(e){if(-1===e)return""+e+", unable to pull configuration";if(0===e)return""+e+", no downgrade";if(1===e)return""+e+", memory downgrade";if(2===e)return""+e+", crash downgrade";if(3===e)return""+e+", basic dimension downgrade";if(4===e)return""+e+", technical point downgrade";if(5===e)return""+e+", GPU downgrade";else if(6===e)return""+e+", self-healing downgrade";else if(7===e)return""+e+", 32-bit CPU downgrade";else return""+e}(o)}:n.isAlipayMiniApp()&&this.downgradeForMiniprogram()?{downgrade:!0,level:this.getRenderLevel(),reason:"Force downgrade by downgrade plugin"}:{downgrade:!1,level:this.getRenderLevel(),reason:""+t}},t.getRenderLevel=function(){return this.level===e.DeviceLevel.High?n.spec.RenderLevel.S:this.level===e.DeviceLevel.Medium?n.spec.RenderLevel.A:this.level===e.DeviceLevel.Low?n.spec.RenderLevel.B:this.isIOS?n.spec.RenderLevel.S:n.spec.RenderLevel.B},t.setLevel=function(n){if(this.level=d(n),this.level===e.DeviceLevel.Unknown&&/iPhone(\d+),/.test(this.model)){var r=+RegExp.$1;r<=9?this.level=e.DeviceLevel.Low:r<10?this.level=e.DeviceLevel.Medium:this.level=e.DeviceLevel.High}},t.downgradeForMiniprogram=function(){var e=this;if(this.isIOS&&u.find(function(n){return n===e.model})){var n=this.system.split(".");if(n.length>0&&"16"===n[0])return!0}return!1},r}();function d(n){return"high"===n?e.DeviceLevel.High:"medium"===n||"middle"===n?e.DeviceLevel.Medium:"low"===n?e.DeviceLevel.Low:e.DeviceLevel.Unknown}var f=Symbol("@@_inter_pause"),v="mock-fail",p=!1,g="undefined"!=typeof window;function h(){return(h=i(function(e,r){var t,o,i,l,u;return a(this,function(a){var d;return(void 0===r&&(r={}),g)?(p||(p=!0,d=r.autoPause,window.addEventListener("unload",function(){n.getActivePlayers().forEach(function(e){return e.dispose()})}),d&&(document.addEventListener("pause",L),document.addEventListener("resume",b))),e===v||"mock-pass"===e)?[2,Promise.resolve({bizId:e,downgrade:e===v,level:null!=(o=r.level)?o:n.spec.RenderLevel.S,reason:"mock"})]:(i=n.isAlipayMiniApp()?my:window.AlipayJSBridge)||r.systemInfo&&r.downgradeResult?(u=performance.now(),[2,(function(e,n){return w.apply(this,arguments)})(r,i).then(function(t){var o=performance.now();return(function(e,n,r){return y.apply(this,arguments)})(e,r,i).then(function(i){var l=performance.now();n.logger.info("Downgrade time: "+(l-u)+"ms.");var a=new c;a.setSystemInfo(t);var d=a.getDowngradeDecision(i);return r.level&&(d.level=r.level),s({},d,{bizId:e,systemInfo:t,systemTime:o-u,downgradeResult:i,downgradeTime:l-o})})})]):[2,{bizId:e,downgrade:!1,level:null!=(l=r.level)?l:n.spec.RenderLevel.S,reason:"Non-Alipay environment"}]:[2,Promise.resolve({bizId:e,downgrade:!0,level:null!=(t=r.level)?t:n.spec.RenderLevel.S,reason:"当前环境无法访问 window"})]})})).apply(this,arguments)}function w(){return(w=i(function(e,n){return a(this,function(r){return e.systemInfo?[2,Promise.resolve(e.systemInfo)]:[2,new Promise(function(e,r){n.call("getSystemInfo",function(n){n.error?r(n):e(n)})})]})})).apply(this,arguments)}function y(){return(y=i(function(e,n,r){return a(this,function(t){return n.downgradeResult?[2,Promise.resolve(n.downgradeResult)]:[2,new Promise(function(t,o){var i,l=["mars"],a=n.techPoint;a&&l.push.apply(l,[].concat(a)),(null!=(i=n.callBridge)?i:r.call)("getDowngradeResult",{bizId:e,scene:0,ext:{techPoint:l}},function(e){t(e)})})]})})).apply(this,arguments)}function m(){return n.isIOS()?n.spec.RenderLevel.S:n.spec.RenderLevel.B}function L(e){e.target===document&&(n.logger.info("Auto pause all players with data offloaded."),n.getActivePlayers().forEach(function(e){e.paused||(e.pause({offloadTexture:!0}),e[f]=!0)}))}function b(e){e.target===document&&(n.logger.info("Auto resume all players."),n.getActivePlayers().forEach(function(e){e[f]&&(e.resume(),e[f]=!1)}))}var D=function(e){function r(){return e.apply(this,arguments)}return!function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&l(e,n)}(r,e),r.processRawJSON=function(e,r){return void 0===r&&(r={}),i(function(){var e,t,o;return a(this,function(i){if(t=null==(e=r.pluginData)?void 0:e.downgrade){if(t.downgrade)throw Error("Downgraded, reason: "+t.reason)}else n.logger.warn("No downgrade result in pluginData of SceneLoadOptions.");return r.renderLevel||(r.renderLevel=null!=(o=null==t?void 0:t.level)?o:m()),[2]})})()},r}(n.AbstractPlugin);if(g){var P=n.isAlipayMiniApp()?my:window.AlipayJSBridge;n.logger.register(function(e,r){for(var t=arguments.length,o=Array(t>2?t-2:0),i=2;i<t;i++)o[i-2]=arguments[i];var l={message:"[Galacean Effects] "+r+" "+o.join(""),level:e};n.isAndroid()&&(l.anr_info="mars");try{null==P||P.call("localLog",l)}catch(e){console.error(e)}})}var R="2.1.5";n.registerPlugin("alipay-downgrade",D,n.VFXItem,!0),n.logger.info("Plugin downgrade version: "+R+"."),R!==t.version&&console.error("注意:请统一 Downgrade 插件与 Player 版本,不统一的版本混用会有不可预知的后果!","\nAttention: Please ensure the Downgrade plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!"),e.canUseBOM=g,e.getDefaultRenderLevel=m,e.getDowngradeResult=function(e){return h.apply(this,arguments)},e.version=R,Object.defineProperty(e,"__esModule",{value:!0})});
8
8
  //# sourceMappingURL=index.min.js.map
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player downgrade plugin for Alipay
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,意绮,飂兮
6
- * Version: v2.1.4
6
+ * Version: v2.1.5
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
@@ -634,7 +634,7 @@ if (canUseBOM) {
634
634
 
635
635
  /**
636
636
  * 插件版本号
637
- */ var version = "2.1.4";
637
+ */ var version = "2.1.5";
638
638
  registerPlugin("alipay-downgrade", AlipayDowngradePlugin, VFXItem, true);
639
639
  logger.info("Plugin downgrade version: " + version + ".");
640
640
  if (version !== EFFECTS.version) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-plugin-alipay-downgrade",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Galacean Effects player downgrade plugin for Alipay",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "registry": "https://registry.npmjs.org"
40
40
  },
41
41
  "devDependencies": {
42
- "@galacean/effects": "2.1.4"
42
+ "@galacean/effects": "2.1.5"
43
43
  },
44
44
  "scripts": {
45
45
  "dev": "vite",