@riocrypto/common 1.0.1518 → 1.0.1520

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.
@@ -318,8 +318,8 @@ export declare class RioAdminClient {
318
318
  deleteAuth(id: string): Promise<void>;
319
319
  getInvoice(orderId: string): Promise<Invoice>;
320
320
  createWebhookRegistration({ userId, brokerId, type, url, }: {
321
- userId: string;
322
- brokerId: string;
321
+ userId?: string;
322
+ brokerId?: string;
323
323
  type: WebhookType;
324
324
  url: string;
325
325
  }): Promise<{
@@ -260,8 +260,8 @@ export declare class RioClient {
260
260
  }>;
261
261
  getOnboarding(id: string): Promise<Onboarding>;
262
262
  createWebhookRegistration({ userId, brokerId, type, url, }: {
263
- userId: string;
264
- brokerId: string;
263
+ userId?: string;
264
+ brokerId?: string;
265
265
  type: WebhookType;
266
266
  url: string;
267
267
  }): Promise<{
@@ -1,6 +1,7 @@
1
1
  export interface WebhookRegistration {
2
2
  id: string;
3
3
  userId: string;
4
+ brokerId: string;
4
5
  type: "users" | "orders" | "bank-accounts";
5
6
  url: string;
6
7
  encryptedSharedSecret: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1518",
3
+ "version": "1.0.1520",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",