@dynamic-labs/utils 0.18.0-beta.30 → 0.18.0-beta.31

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/CHANGELOG.md CHANGED
@@ -1,4 +1,16 @@
1
1
 
2
+ ## [0.18.0-beta.31](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-beta.30...v0.18.0-beta.31) (2023-08-08)
3
+
4
+
5
+ ### Features
6
+
7
+ * **GVTY-65:** allow merging accounts when duplicated email in KYC step ([#2868](https://github.com/dynamic-labs/DynamicAuth/issues/2868)) ([041d0a8](https://github.com/dynamic-labs/DynamicAuth/commit/041d0a809e06a7b1407a46b04722c9ebc4802304))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **GVTY-150:** blocto pop up to sign after disconnect ([#2870](https://github.com/dynamic-labs/DynamicAuth/issues/2870)) ([14ccfa0](https://github.com/dynamic-labs/DynamicAuth/commit/14ccfa030dbe8989b9404e2e57ba3f5b50ca88ff))
13
+
2
14
  ## [0.18.0-beta.30](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-beta.29...v0.18.0-beta.30) (2023-08-04)
3
15
 
4
16
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/utils",
3
- "version": "0.18.0-beta.30",
3
+ "version": "0.18.0-beta.31",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,7 +26,7 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/types": "0.18.0-beta.30"
29
+ "@dynamic-labs/types": "0.18.0-beta.31"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var DynamicError = require('./DynamicError.cjs');
6
+
7
+ class UserHasAccountWithEmailError extends DynamicError.DynamicError {
8
+ constructor(error) {
9
+ super(error);
10
+ this.error = error;
11
+ }
12
+ }
13
+
14
+ exports.UserHasAccountWithEmailError = UserHasAccountWithEmailError;
@@ -0,0 +1,5 @@
1
+ import { DynamicError } from './DynamicError';
2
+ export declare class UserHasAccountWithEmailError extends DynamicError {
3
+ error: string;
4
+ constructor(error: string);
5
+ }
@@ -0,0 +1,10 @@
1
+ import { DynamicError } from './DynamicError.js';
2
+
3
+ class UserHasAccountWithEmailError extends DynamicError {
4
+ constructor(error) {
5
+ super(error);
6
+ this.error = error;
7
+ }
8
+ }
9
+
10
+ export { UserHasAccountWithEmailError };
@@ -12,3 +12,4 @@ export * from './WalletUsedError';
12
12
  export * from './EmailProviderError';
13
13
  export * from './MissingEnvironmentIdError';
14
14
  export * from './GateBlockedError';
15
+ export * from './UserHasAccountWithEmailError';
package/src/index.cjs CHANGED
@@ -18,6 +18,7 @@ var WalletUsedError = require('./errors/WalletUsedError.cjs');
18
18
  var EmailProviderError = require('./errors/EmailProviderError.cjs');
19
19
  var MissingEnvironmentIdError = require('./errors/MissingEnvironmentIdError.cjs');
20
20
  var GateBlockedError = require('./errors/GateBlockedError.cjs');
21
+ var UserHasAccountWithEmailError = require('./errors/UserHasAccountWithEmailError.cjs');
21
22
  var CancellablePromise = require('./CancellablePromise/CancellablePromise.cjs');
22
23
  var isFunction = require('./isFunction/isFunction.cjs');
23
24
  var isMobile = require('./isMobile.cjs');
@@ -42,6 +43,7 @@ exports.WalletUsedError = WalletUsedError.WalletUsedError;
42
43
  exports.EmailProviderError = EmailProviderError.EmailProviderError;
43
44
  exports.MissingEnvironmentIdError = MissingEnvironmentIdError.MissingEnvironmentIdError;
44
45
  exports.GateBlockedError = GateBlockedError.GateBlockedError;
46
+ exports.UserHasAccountWithEmailError = UserHasAccountWithEmailError.UserHasAccountWithEmailError;
45
47
  exports.CancellablePromise = CancellablePromise.CancellablePromise;
46
48
  exports.isFunction = isFunction.isFunction;
47
49
  exports.isAndroid = isMobile.isAndroid;
package/src/index.js CHANGED
@@ -14,6 +14,7 @@ export { WalletUsedError } from './errors/WalletUsedError.js';
14
14
  export { EmailProviderError } from './errors/EmailProviderError.js';
15
15
  export { MissingEnvironmentIdError } from './errors/MissingEnvironmentIdError.js';
16
16
  export { GateBlockedError } from './errors/GateBlockedError.js';
17
+ export { UserHasAccountWithEmailError } from './errors/UserHasAccountWithEmailError.js';
17
18
  export { CancellablePromise } from './CancellablePromise/CancellablePromise.js';
18
19
  export { isFunction } from './isFunction/isFunction.js';
19
20
  export { isAndroid, isIOS, isIPad, isIPhone, isLegacySafari, isMobile, isSamsungBrowser } from './isMobile.js';