vrchat 1.4.0 → 1.5.1

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/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.4.0
4
+ * The version of the OpenAPI document: 1.5.1
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,7 +9,7 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  import { Configuration } from "./configuration";
12
- import { AxiosInstance } from 'axios';
12
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  export declare const BASE_PATH: string;
14
14
  /**
15
15
  *
@@ -28,7 +28,7 @@ export declare const COLLECTION_FORMATS: {
28
28
  */
29
29
  export interface RequestArgs {
30
30
  url: string;
31
- options: any;
31
+ options: AxiosRequestConfig;
32
32
  }
33
33
  /**
34
34
  *
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.4.0
7
+ * The version of the OpenAPI document: 1.5.1
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.4.0
4
+ * The version of the OpenAPI document: 1.5.1
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import { Configuration } from "./configuration";
12
12
  import { RequestArgs } from "./base";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosResponse } from 'axios';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -61,4 +61,4 @@ export declare const toPathString: (url: URL) => string;
61
61
  *
62
62
  * @export
63
63
  */
64
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
64
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.4.0
7
+ * The version of the OpenAPI document: 1.5.1
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.4.0
4
+ * The version of the OpenAPI document: 1.5.1
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.4.0
7
+ * The version of the OpenAPI document: 1.5.1
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.4.0
4
+ * The version of the OpenAPI document: 1.5.1
5
5
  * Contact: me@ruby.js.org
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.4.0
7
+ * The version of the OpenAPI document: 1.5.1
8
8
  * Contact: me@ruby.js.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/generate.sh CHANGED
@@ -10,7 +10,7 @@ rm *.ts -rf
10
10
  --git-user-id=vrchatapi \
11
11
  --git-repo-id=vrchatapi-javascript \
12
12
  -o . \
13
- -i https://vrchatapi.github.io/specification/openapi.yaml \
13
+ -i https://raw.githubusercontent.com/vrchatapi/specification/gh-pages/openapi.yaml \
14
14
  --http-user-agent="vrchatapi-javascript"
15
15
 
16
16
  # Modify package.json
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.4.0
6
+ * The version of the OpenAPI document: 1.5.1
7
7
  * Contact: me@ruby.js.org
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/openapitools.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
3
  "spaces": 2,
4
4
  "generator-cli": {
5
- "version": "5.2.0"
5
+ "version": "5.3.0"
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrchat",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,7 +21,7 @@
21
21
  "tough-cookie": "^4.0.0",
22
22
  "axios-cookiejar-support": "^1.0.1",
23
23
  "@types/tough-cookie": "^4.0.1",
24
- "axios": "^0.21.1"
24
+ "axios": "^0.21.4"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^12.11.5",