@bitwarden/commercial-sdk-internal 0.2.0-main.394 → 0.2.0-main.396

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.
@@ -127,6 +127,11 @@ export enum UriMatchType {
127
127
  Never = 5,
128
128
  }
129
129
 
130
+ /**
131
+ * @deprecated Use PasswordManagerClient instead
132
+ */
133
+ export type BitwardenClient = PasswordManagerClient;
134
+
130
135
  import { Tagged } from "type-fest";
131
136
 
132
137
  /**
@@ -1826,61 +1831,6 @@ export class AuthClient {
1826
1831
  */
1827
1832
  send_access(): SendAccessClient;
1828
1833
  }
1829
- /**
1830
- * The main entry point for the Bitwarden SDK in WebAssembly environments
1831
- */
1832
- export class BitwardenClient {
1833
- free(): void;
1834
- [Symbol.dispose](): void;
1835
- /**
1836
- * Initialize a new instance of the SDK client
1837
- */
1838
- constructor(token_provider: any, settings?: ClientSettings | null);
1839
- /**
1840
- * Test method, echoes back the input
1841
- */
1842
- echo(msg: string): string;
1843
- /**
1844
- * Returns the current SDK version
1845
- */
1846
- version(): string;
1847
- /**
1848
- * Test method, always throws an error
1849
- */
1850
- throw(msg: string): void;
1851
- /**
1852
- * Test method, calls http endpoint
1853
- */
1854
- http_get(url: string): Promise<string>;
1855
- /**
1856
- * Auth related operations.
1857
- */
1858
- auth(): AuthClient;
1859
- /**
1860
- * Bitwarden licensed operations.
1861
- */
1862
- commercial(): CommercialPasswordManagerClient;
1863
- /**
1864
- * Crypto related operations.
1865
- */
1866
- crypto(): CryptoClient;
1867
- /**
1868
- * Vault item related operations.
1869
- */
1870
- vault(): VaultClient;
1871
- /**
1872
- * Constructs a specific client for platform-specific functionality
1873
- */
1874
- platform(): PlatformClient;
1875
- /**
1876
- * Constructs a specific client for generating passwords and passphrases
1877
- */
1878
- generator(): GeneratorClient;
1879
- /**
1880
- * Exporter related operations.
1881
- */
1882
- exporters(): ExporterClient;
1883
- }
1884
1834
  /**
1885
1835
  * Client for evaluating credential risk for login ciphers.
1886
1836
  */
@@ -2311,6 +2261,61 @@ export class OutgoingMessage {
2311
2261
  get topic(): string | undefined;
2312
2262
  set topic(value: string | null | undefined);
2313
2263
  }
2264
+ /**
2265
+ * The main entry point for the Bitwarden SDK in WebAssembly environments
2266
+ */
2267
+ export class PasswordManagerClient {
2268
+ free(): void;
2269
+ [Symbol.dispose](): void;
2270
+ /**
2271
+ * Initialize a new instance of the SDK client
2272
+ */
2273
+ constructor(token_provider: any, settings?: ClientSettings | null);
2274
+ /**
2275
+ * Test method, echoes back the input
2276
+ */
2277
+ echo(msg: string): string;
2278
+ /**
2279
+ * Returns the current SDK version
2280
+ */
2281
+ version(): string;
2282
+ /**
2283
+ * Test method, always throws an error
2284
+ */
2285
+ throw(msg: string): void;
2286
+ /**
2287
+ * Test method, calls http endpoint
2288
+ */
2289
+ http_get(url: string): Promise<string>;
2290
+ /**
2291
+ * Auth related operations.
2292
+ */
2293
+ auth(): AuthClient;
2294
+ /**
2295
+ * Bitwarden licensed operations.
2296
+ */
2297
+ commercial(): CommercialPasswordManagerClient;
2298
+ /**
2299
+ * Crypto related operations.
2300
+ */
2301
+ crypto(): CryptoClient;
2302
+ /**
2303
+ * Vault item related operations.
2304
+ */
2305
+ vault(): VaultClient;
2306
+ /**
2307
+ * Constructs a specific client for platform-specific functionality
2308
+ */
2309
+ platform(): PlatformClient;
2310
+ /**
2311
+ * Constructs a specific client for generating passwords and passphrases
2312
+ */
2313
+ generator(): GeneratorClient;
2314
+ /**
2315
+ * Exporter related operations.
2316
+ */
2317
+ exporters(): ExporterClient;
2318
+ }
2314
2319
  export class PlatformClient {
2315
2320
  private constructor();
2316
2321
  free(): void;