File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5959
6060 const version = semver.parse('$version');
6161 version.major += 1;
62+ version.minor += 1;
6263
6364 version.format();
6465 ")
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export class VRChat extends VRChatInternal {
5252 headers . set ( "user-agent" , getUserAgent ( application ) ) ;
5353
5454 const client = createClient ( createConfig ( {
55+ baseUrl : "https://api.vrchat.cloud/api/1" ,
5556 ...clientOptions ,
5657 headers
5758 } ) ) ;
@@ -122,7 +123,7 @@ export class VRChat extends VRChatInternal {
122123 }
123124
124125 interceptors . request . use ( async ( request , options ) => {
125- const { meta = { } } = options as Options as { meta : Record < PropertyKey , unknown > } ;
126+ const { meta = { } } = options as Options as { meta ? : Record < PropertyKey , unknown > } ;
126127
127128 // If the session is being refreshed, wait for the authentication to complete.
128129 if ( this . authenticatePromise && ! meta [ authenticateSymbol ] ) {
@@ -141,7 +142,7 @@ export class VRChat extends VRChatInternal {
141142 } ) ;
142143
143144 interceptors . response . use ( async ( response , request , options ) => {
144- const { meta } = options as Options as { meta : Record < PropertyKey , unknown > } ;
145+ const { meta = { } } = options as Options as { meta ? : Record < PropertyKey , unknown > } ;
145146
146147 await this . saveCookies ( response . headers ) ;
147148
You can’t perform that action at this time.
0 commit comments