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/dist/index.mjs CHANGED
@@ -137,7 +137,7 @@ var HTTPClient = class {
137
137
  timeout: config.timeout,
138
138
  headers: {
139
139
  "Content-Type": "application/json",
140
- "User-Agent": "instavm-js-sdk/0.15.0"
140
+ "User-Agent": "instavm-js-sdk/0.16.0"
141
141
  }
142
142
  });
143
143
  this.setupInterceptors();
@@ -2008,7 +2008,7 @@ var InstaVM = class {
2008
2008
  async getCurrentUser() {
2009
2009
  this.ensureNotLocal("User profile lookup");
2010
2010
  return this.httpClient.get(
2011
- "/v1/me",
2011
+ "/v1/users/me",
2012
2012
  void 0,
2013
2013
  { "X-API-Key": this.httpClient.apiKey }
2014
2014
  );