@bitwarden/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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- f1185705b1aa0af0a11b4c1193a0b46a1150c0de
1
+ d05b2aee6b08766eb9eb7c42f9d00335ca01bf13
@@ -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,57 +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
- * Crypto related operations.
1861
- */
1862
- crypto(): CryptoClient;
1863
- /**
1864
- * Vault item related operations.
1865
- */
1866
- vault(): VaultClient;
1867
- /**
1868
- * Constructs a specific client for platform-specific functionality
1869
- */
1870
- platform(): PlatformClient;
1871
- /**
1872
- * Constructs a specific client for generating passwords and passphrases
1873
- */
1874
- generator(): GeneratorClient;
1875
- /**
1876
- * Exporter related operations.
1877
- */
1878
- exporters(): ExporterClient;
1879
- }
1880
1834
  /**
1881
1835
  * Client for evaluating credential risk for login ciphers.
1882
1836
  */
@@ -2290,6 +2244,57 @@ export class OutgoingMessage {
2290
2244
  get topic(): string | undefined;
2291
2245
  set topic(value: string | null | undefined);
2292
2246
  }
2247
+ /**
2248
+ * The main entry point for the Bitwarden SDK in WebAssembly environments
2249
+ */
2250
+ export class PasswordManagerClient {
2251
+ free(): void;
2252
+ [Symbol.dispose](): void;
2253
+ /**
2254
+ * Initialize a new instance of the SDK client
2255
+ */
2256
+ constructor(token_provider: any, settings?: ClientSettings | null);
2257
+ /**
2258
+ * Test method, echoes back the input
2259
+ */
2260
+ echo(msg: string): string;
2261
+ /**
2262
+ * Returns the current SDK version
2263
+ */
2264
+ version(): string;
2265
+ /**
2266
+ * Test method, always throws an error
2267
+ */
2268
+ throw(msg: string): void;
2269
+ /**
2270
+ * Test method, calls http endpoint
2271
+ */
2272
+ http_get(url: string): Promise<string>;
2273
+ /**
2274
+ * Auth related operations.
2275
+ */
2276
+ auth(): AuthClient;
2277
+ /**
2278
+ * Crypto related operations.
2279
+ */
2280
+ crypto(): CryptoClient;
2281
+ /**
2282
+ * Vault item related operations.
2283
+ */
2284
+ vault(): VaultClient;
2285
+ /**
2286
+ * Constructs a specific client for platform-specific functionality
2287
+ */
2288
+ platform(): PlatformClient;
2289
+ /**
2290
+ * Constructs a specific client for generating passwords and passphrases
2291
+ */
2292
+ generator(): GeneratorClient;
2293
+ /**
2294
+ * Exporter related operations.
2295
+ */
2296
+ exporters(): ExporterClient;
2297
+ }
2293
2298
  export class PlatformClient {
2294
2299
  private constructor();
2295
2300
  free(): void;