@riocrypto/common 1.0.1415 → 1.0.1417

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.
@@ -0,0 +1,7 @@
1
+ import { Subjects } from "./subjects";
2
+ export interface AddressVerificationInitiatedEvent {
3
+ subject: Subjects.AddressVerificationInitiated;
4
+ data: {
5
+ id: string;
6
+ };
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  export declare enum Subjects {
2
2
  AuthDeleted = "auth:deleted",
3
+ AddressVerificationInitiated = "addressVerification:initiated",
3
4
  AddressCheckPassed = "addressCheck:passed",
4
5
  AddressCheckFailed = "addressCheck:Failed",
5
6
  CircleAddressReady = "circleAddress:ready",
@@ -4,6 +4,7 @@ exports.Subjects = void 0;
4
4
  var Subjects;
5
5
  (function (Subjects) {
6
6
  Subjects["AuthDeleted"] = "auth:deleted";
7
+ Subjects["AddressVerificationInitiated"] = "addressVerification:initiated";
7
8
  Subjects["AddressCheckPassed"] = "addressCheck:passed";
8
9
  Subjects["AddressCheckFailed"] = "addressCheck:Failed";
9
10
  Subjects["CircleAddressReady"] = "circleAddress:ready";
package/build/index.d.ts CHANGED
@@ -128,6 +128,7 @@ export * from "./events/ubo-onboarding-approved-event";
128
128
  export * from "./events/ubo-onboarding-failed-event";
129
129
  export * from "./events/ubo-updated-event";
130
130
  export * from "./events/auth-deleted-event";
131
+ export * from "./events/address-verification-initiated-event";
131
132
  export * from "./types/auth-payload";
132
133
  export * from "./types/admin-auth-payload";
133
134
  export * from "./types/admin-auth";
@@ -223,6 +224,7 @@ export * from "./types/KYC";
223
224
  export * from "./types/bid";
224
225
  export * from "./types/bid-status";
225
226
  export * from "./types/auth-role";
227
+ export * from "./types/address-verification-status";
226
228
  export * from "./classes/Asset";
227
229
  export * from "./classes/KYCFieldClass";
228
230
  export * from "./classes/KYCFileClass";
package/build/index.js CHANGED
@@ -144,6 +144,7 @@ __exportStar(require("./events/ubo-onboarding-approved-event"), exports);
144
144
  __exportStar(require("./events/ubo-onboarding-failed-event"), exports);
145
145
  __exportStar(require("./events/ubo-updated-event"), exports);
146
146
  __exportStar(require("./events/auth-deleted-event"), exports);
147
+ __exportStar(require("./events/address-verification-initiated-event"), exports);
147
148
  __exportStar(require("./types/auth-payload"), exports);
148
149
  __exportStar(require("./types/admin-auth-payload"), exports);
149
150
  __exportStar(require("./types/admin-auth"), exports);
@@ -239,6 +240,7 @@ __exportStar(require("./types/KYC"), exports);
239
240
  __exportStar(require("./types/bid"), exports);
240
241
  __exportStar(require("./types/bid-status"), exports);
241
242
  __exportStar(require("./types/auth-role"), exports);
243
+ __exportStar(require("./types/address-verification-status"), exports);
242
244
  __exportStar(require("./classes/Asset"), exports);
243
245
  __exportStar(require("./classes/KYCFieldClass"), exports);
244
246
  __exportStar(require("./classes/KYCFileClass"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum AddressVerificationStatus {
2
+ initiated = "initiated",
3
+ passed = "passed"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressVerificationStatus = void 0;
4
+ var AddressVerificationStatus;
5
+ (function (AddressVerificationStatus) {
6
+ AddressVerificationStatus["initiated"] = "initiated";
7
+ AddressVerificationStatus["passed"] = "passed";
8
+ })(AddressVerificationStatus = exports.AddressVerificationStatus || (exports.AddressVerificationStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1415",
3
+ "version": "1.0.1417",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",