@predy-js/render-interface 0.2.1-beta.10 → 0.2.1-beta.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.
package/dist/statistic.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Name: @predy-js/render-interface
3
3
  * Description: undefined
4
4
  * Author: undefined
5
- * Version: v0.2.1-beta.10
5
+ * Version: v0.2.1-beta.11
6
6
  */
7
7
 
8
8
  // https://github.com/greggman/webgl-memory/blob/main/src/texture-utils.js
@@ -8,6 +8,7 @@ export interface PredyRequestOptions {
8
8
  disableCache?: boolean;
9
9
  timeout?: number;
10
10
  responseType?: 'text' | 'arraybuffer';
11
+ useSystemNetwork?: boolean;
11
12
  }
12
13
  export declare enum PredyResourceCacheStatus {
13
14
  noCache = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@predy-js/render-interface",
3
- "version": "0.2.1-beta.10",
3
+ "version": "0.2.1-beta.11",
4
4
  "license": "MIT",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -11,6 +11,9 @@ export interface PredyRequestOptions {
11
11
  timeout?: number,
12
12
 
13
13
  responseType?: 'text' | 'arraybuffer',
14
+
15
+ //使用系统网络库(仅用于试验)
16
+ useSystemNetwork?: boolean,
14
17
  }
15
18
  export enum PredyResourceCacheStatus {
16
19
  noCache = 0, // 没有缓存,走网络请求