instavm 0.15.0 → 0.16.0
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 +49 -2
- package/dist/cli.js +2449 -228
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -198,7 +198,7 @@ var HTTPClient = class {
|
|
|
198
198
|
timeout: config.timeout,
|
|
199
199
|
headers: {
|
|
200
200
|
"Content-Type": "application/json",
|
|
201
|
-
"User-Agent": "instavm-js-sdk/0.
|
|
201
|
+
"User-Agent": "instavm-js-sdk/0.16.0"
|
|
202
202
|
}
|
|
203
203
|
});
|
|
204
204
|
this.setupInterceptors();
|
|
@@ -2069,7 +2069,7 @@ var InstaVM = class {
|
|
|
2069
2069
|
async getCurrentUser() {
|
|
2070
2070
|
this.ensureNotLocal("User profile lookup");
|
|
2071
2071
|
return this.httpClient.get(
|
|
2072
|
-
"/v1/me",
|
|
2072
|
+
"/v1/users/me",
|
|
2073
2073
|
void 0,
|
|
2074
2074
|
{ "X-API-Key": this.httpClient.apiKey }
|
|
2075
2075
|
);
|