ugcinc 1.1.4 → 1.1.5

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 CHANGED
@@ -71,7 +71,7 @@ For complete API documentation, including all endpoints, parameters, and example
71
71
 
72
72
  **Get your organization's API keys:**
73
73
  ```typescript
74
- const response = await client.org.getApiKeys();
74
+ const response = await client.org.getApiKeys(); // POST /org/api-key
75
75
 
76
76
  if (response.ok) {
77
77
  console.log(response.data); // [{ id: "...", created_at: "..." }]
package/dist/org.js CHANGED
@@ -11,7 +11,7 @@ class OrganizationClient extends base_1.BaseClient {
11
11
  * Note: The actual key values are not returned for security reasons
12
12
  */
13
13
  async getApiKeys() {
14
- return this.get('/org/api-key');
14
+ return this.post('/org/api-key');
15
15
  }
16
16
  }
17
17
  exports.OrganizationClient = OrganizationClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",