@llmsafespaces/sdk 0.8.1 → 0.8.3

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.cjs CHANGED
@@ -385,15 +385,6 @@ var AccountAPI = class {
385
385
  this.client = client;
386
386
  }
387
387
  client;
388
- rotateKey(password) {
389
- return this.client.request("POST", "/account/rotate-key", { password });
390
- }
391
- changePassword(oldPassword, newPassword) {
392
- return this.client.request("POST", "/account/change-password", { oldPassword, newPassword });
393
- }
394
- recover(userId, recoveryKey, newPassword) {
395
- return this.client.request("POST", "/account/recover", { userId, recoveryKey, newPassword });
396
- }
397
388
  };
398
389
  var ProviderCredentialsAPI = class {
399
390
  constructor(client) {
package/dist/index.d.cts CHANGED
@@ -326,14 +326,6 @@ declare class UserSettingsAPI {
326
326
  declare class AccountAPI {
327
327
  private client;
328
328
  constructor(client: LLMSafeSpaces);
329
- rotateKey(password: string): Promise<{
330
- keyVersion: number;
331
- recoveryKey: string;
332
- }>;
333
- changePassword(oldPassword: string, newPassword: string): Promise<void>;
334
- recover(userId: string, recoveryKey: string, newPassword: string): Promise<{
335
- recoveryKey: string;
336
- }>;
337
329
  }
338
330
  declare class ProviderCredentialsAPI {
339
331
  private client;
package/dist/index.d.ts CHANGED
@@ -326,14 +326,6 @@ declare class UserSettingsAPI {
326
326
  declare class AccountAPI {
327
327
  private client;
328
328
  constructor(client: LLMSafeSpaces);
329
- rotateKey(password: string): Promise<{
330
- keyVersion: number;
331
- recoveryKey: string;
332
- }>;
333
- changePassword(oldPassword: string, newPassword: string): Promise<void>;
334
- recover(userId: string, recoveryKey: string, newPassword: string): Promise<{
335
- recoveryKey: string;
336
- }>;
337
329
  }
338
330
  declare class ProviderCredentialsAPI {
339
331
  private client;
package/dist/index.js CHANGED
@@ -352,15 +352,6 @@ var AccountAPI = class {
352
352
  this.client = client;
353
353
  }
354
354
  client;
355
- rotateKey(password) {
356
- return this.client.request("POST", "/account/rotate-key", { password });
357
- }
358
- changePassword(oldPassword, newPassword) {
359
- return this.client.request("POST", "/account/change-password", { oldPassword, newPassword });
360
- }
361
- recover(userId, recoveryKey, newPassword) {
362
- return this.client.request("POST", "/account/recover", { userId, recoveryKey, newPassword });
363
- }
364
355
  };
365
356
  var ProviderCredentialsAPI = class {
366
357
  constructor(client) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmsafespaces/sdk",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "TypeScript SDK for LLMSafeSpaces API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",