@dynamic-labs/utils 0.18.0-RC.10 → 0.18.0-RC.11

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,18 @@
1
1
 
2
+ ## [0.18.0-RC.11](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.10...v0.18.0-RC.11) (2023-07-07)
3
+
4
+
5
+ ### Features
6
+
7
+ * **DYN-2384:** expose useDynamicScopes hook ([#2179](https://github.com/dynamic-labs/DynamicAuth/issues/2179)) ([c224749](https://github.com/dynamic-labs/DynamicAuth/commit/c2247493d9c99dab7e41d7d8d156ae7e478973bc))
8
+ * **DynamicBridgeWidget:** add UI inline widget to match designs ([#2587](https://github.com/dynamic-labs/DynamicAuth/issues/2587)) ([d623aec](https://github.com/dynamic-labs/DynamicAuth/commit/d623aecda6388b67e40a3f8dabb03ca03a6f22b6))
9
+ * support starknet networks ([#2579](https://github.com/dynamic-labs/DynamicAuth/issues/2579)) ([a01545e](https://github.com/dynamic-labs/DynamicAuth/commit/a01545e0cf8e4e19a22dc64877d590d78647c579))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * metamask getConnectedAccounts triggering an infinite loop ([#2580](https://github.com/dynamic-labs/DynamicAuth/issues/2580)) ([e025cea](https://github.com/dynamic-labs/DynamicAuth/commit/e025cea33e4a95ea2a03ac11e47a88a73db39848))
15
+
2
16
  ## [0.18.0-RC.10](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.9...v0.18.0-RC.10) (2023-07-06)
3
17
 
4
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/utils",
3
- "version": "0.18.0-RC.10",
3
+ "version": "0.18.0-RC.11",
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-RC.10"
29
+ "@dynamic-labs/types": "0.18.0-RC.11"
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 GateBlockedError extends DynamicError.DynamicError {
8
+ constructor(walletPublicKey) {
9
+ super('This address is blocked by the gate');
10
+ this.walletPublicKey = walletPublicKey;
11
+ }
12
+ }
13
+
14
+ exports.GateBlockedError = GateBlockedError;
@@ -0,0 +1,5 @@
1
+ import { DynamicError } from './DynamicError';
2
+ export declare class GateBlockedError extends DynamicError {
3
+ walletPublicKey: string | undefined;
4
+ constructor(walletPublicKey: string);
5
+ }
@@ -0,0 +1,10 @@
1
+ import { DynamicError } from './DynamicError.js';
2
+
3
+ class GateBlockedError extends DynamicError {
4
+ constructor(walletPublicKey) {
5
+ super('This address is blocked by the gate');
6
+ this.walletPublicKey = walletPublicKey;
7
+ }
8
+ }
9
+
10
+ export { GateBlockedError };
@@ -10,3 +10,4 @@ export * from './WalletNotDeployedError';
10
10
  export * from './WalletUsedError';
11
11
  export * from './EmailProviderError';
12
12
  export * from './MissingEnvironmentIdError';
13
+ export * from './GateBlockedError';
package/src/index.cjs CHANGED
@@ -16,6 +16,7 @@ var WalletNotDeployedError = require('./errors/WalletNotDeployedError.cjs');
16
16
  var WalletUsedError = require('./errors/WalletUsedError.cjs');
17
17
  var EmailProviderError = require('./errors/EmailProviderError.cjs');
18
18
  var MissingEnvironmentIdError = require('./errors/MissingEnvironmentIdError.cjs');
19
+ var GateBlockedError = require('./errors/GateBlockedError.cjs');
19
20
  var CancellablePromise = require('./CancellablePromise/CancellablePromise.cjs');
20
21
  var isFunction = require('./isFunction/isFunction.cjs');
21
22
  var isMobile = require('./isMobile.cjs');
@@ -38,6 +39,7 @@ exports.WalletNotDeployedError = WalletNotDeployedError.WalletNotDeployedError;
38
39
  exports.WalletUsedError = WalletUsedError.WalletUsedError;
39
40
  exports.EmailProviderError = EmailProviderError.EmailProviderError;
40
41
  exports.MissingEnvironmentIdError = MissingEnvironmentIdError.MissingEnvironmentIdError;
42
+ exports.GateBlockedError = GateBlockedError.GateBlockedError;
41
43
  exports.CancellablePromise = CancellablePromise.CancellablePromise;
42
44
  exports.isFunction = isFunction.isFunction;
43
45
  exports.isAndroid = isMobile.isAndroid;
package/src/index.js CHANGED
@@ -12,6 +12,7 @@ export { WalletNotDeployedError } from './errors/WalletNotDeployedError.js';
12
12
  export { WalletUsedError } from './errors/WalletUsedError.js';
13
13
  export { EmailProviderError } from './errors/EmailProviderError.js';
14
14
  export { MissingEnvironmentIdError } from './errors/MissingEnvironmentIdError.js';
15
+ export { GateBlockedError } from './errors/GateBlockedError.js';
15
16
  export { CancellablePromise } from './CancellablePromise/CancellablePromise.js';
16
17
  export { isFunction } from './isFunction/isFunction.js';
17
18
  export { isAndroid, isIOS, isIPad, isIPhone, isMobile, isSamsungBrowser } from './isMobile.js';