@cubist-labs/cubesigner-sdk 0.3.23 → 0.3.25

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubist-labs/cubesigner-sdk",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "description": "CubeSigner TypeScript SDK",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "Cubist, Inc.",
@@ -9,7 +9,7 @@ import { PageOpts, Paginator } from "./paginator";
9
9
  import { KeyPolicy } from "./role";
10
10
  import { EnvInterface } from "./env";
11
11
  import { EventEmitter } from "./events";
12
- import { UpdateKeyProperties } from "./index";
12
+ import { KeyProperties } from "./index";
13
13
  /** @internal */
14
14
  export type Client = ReturnType<typeof createClient<paths>>;
15
15
  export { paths, operations };
@@ -270,7 +270,7 @@ export declare class CubeSignerApi {
270
270
  * @param {CreateOidcUserOptions} opts Additional options for new OIDC users
271
271
  * @return {string} User id of the new user
272
272
  */
273
- orgUserCreateOidc(identity: OidcIdentity, email: string, opts?: CreateOidcUserOptions): Promise<string>;
273
+ orgUserCreateOidc(identity: OidcIdentity, email?: string | null, opts?: CreateOidcUserOptions): Promise<string>;
274
274
  /**
275
275
  * Delete an existing OIDC user.
276
276
  * @param {OidcIdentity} identity The identity of the OIDC user
@@ -312,10 +312,10 @@ export declare class CubeSignerApi {
312
312
  * @param {KeyType} keyType The type of key to create.
313
313
  * @param {number} count The number of keys to create.
314
314
  * @param {string?} ownerId The owner of the keys. Defaults to the session's user.
315
- * @param {UpdateKeyProperties?} props Additional key properties
315
+ * @param {KeyProperties?} props Additional key properties
316
316
  * @return {KeyInfoApi[]} The new keys.
317
317
  */
318
- keysCreate(keyType: KeyType, count: number, ownerId?: string, props?: UpdateKeyProperties): Promise<KeyInfoApi[]>;
318
+ keysCreate(keyType: KeyType, count: number, ownerId?: string, props?: KeyProperties): Promise<KeyInfoApi[]>;
319
319
  /**
320
320
  * Derive a set of keys of a specified type using a supplied derivation path and an existing long-lived mnemonic.
321
321
  *