clickgo 3.11.29 → 3.11.30

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 CHANGED
@@ -28,7 +28,7 @@ Load the module loader first, and then load it using the module loader.
28
28
  **index.html**
29
29
 
30
30
  ```html
31
- <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.1/dist/loader.min.js?path=index&npm={'clickgo':'3.11.29'}"></script>
31
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.1/dist/loader.min.js?path=index&npm={'clickgo':'3.11.30'}"></script>
32
32
  ```
33
33
 
34
34
  **index.js**
package/dist/clickgo.js CHANGED
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.zip = exports.tool = exports.theme = exports.task = exports.storage = exports.native = exports.fs = exports.form = exports.dom = exports.core = exports.control = exports.vue = exports.hasFrame = exports.isImmersion = exports.getPlatform = exports.isNative = exports.getVersion = void 0;
27
- const version = '3.11.29';
27
+ const version = '3.11.30';
28
28
  function getVersion() {
29
29
  return version;
30
30
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.11.29';
16
+ const version = '3.11.30';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
package/dist/lib/task.js CHANGED
@@ -1050,6 +1050,9 @@ function run(url_1) {
1050
1050
  post: function (url, data, opt) {
1051
1051
  return tool.post(url, data, opt);
1052
1052
  },
1053
+ postResponseJson: function (url, data, opt) {
1054
+ return tool.postResponseJson(url, data, opt);
1055
+ },
1053
1056
  parseUrl: function (url) {
1054
1057
  return tool.parseUrl(url);
1055
1058
  },
package/dist/lib/task.ts CHANGED
@@ -1178,6 +1178,12 @@ export async function run(url: string | types.IApp, opt: types.ITaskRunOptions =
1178
1178
  }): Promise<Response | null> {
1179
1179
  return tool.post(url, data, opt);
1180
1180
  },
1181
+ postResponseJson: function(url: string, data: Record<string, any> | FormData, opt?: {
1182
+ 'credentials'?: 'include' | 'same-origin' | 'omit';
1183
+ 'headers'?: HeadersInit;
1184
+ }): Promise<any | null> {
1185
+ return tool.postResponseJson(url, data, opt);
1186
+ },
1181
1187
  parseUrl: function(url: string): ILoaderUrl {
1182
1188
  return tool.parseUrl(url);
1183
1189
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.11.29",
3
+ "version": "3.11.30",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",