keytops-game-framework 1.0.9 → 1.0.11

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6241,7 +6241,15 @@ class IPayAble {
6241
6241
 
6242
6242
  class EnterOptionParser {
6243
6243
  constructor(options) {
6244
- this._options = options;
6244
+ if (typeof options === "string") {
6245
+ try {
6246
+ options = options ? JSON.parse(options) : {};
6247
+ }
6248
+ catch (_a) {
6249
+ options = {};
6250
+ }
6251
+ }
6252
+ this._options = options || {};
6245
6253
  }
6246
6254
  /**
6247
6255
  * 是否匹配对应的来源渠道场景
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keytops-game-framework",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "cocos creator game framework library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",