@dynamic-labs/utils 1.0.0-alpha.4 → 1.0.0-alpha.5
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,17 @@
|
|
|
1
1
|
|
|
2
|
+
## [1.0.0-alpha.5](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2023-11-29)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* gracefully handle uknown wallet ([#3997](https://github.com/dynamic-labs/DynamicAuth/issues/3997)) ([ce7ff6a](https://github.com/dynamic-labs/DynamicAuth/commit/ce7ff6a50a8e8947050734b61587c8cadd041dbe))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* remove total on sponsored transactions ([#4019](https://github.com/dynamic-labs/DynamicAuth/issues/4019)) ([d976678](https://github.com/dynamic-labs/DynamicAuth/commit/d9766787b29665fbcd7983c5d61c31a4d97c8257))
|
|
13
|
+
* send balance align information ([#4020](https://github.com/dynamic-labs/DynamicAuth/issues/4020)) ([508dccf](https://github.com/dynamic-labs/DynamicAuth/commit/508dccfa2c6aeaed30616b6a41b30002cccb3b40))
|
|
14
|
+
|
|
2
15
|
## [1.0.0-alpha.4](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2023-11-28)
|
|
3
16
|
|
|
4
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"viem": "^1.5.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@dynamic-labs/logger": "1.0.0-alpha.
|
|
33
|
-
"@dynamic-labs/types": "1.0.0-alpha.
|
|
32
|
+
"@dynamic-labs/logger": "1.0.0-alpha.5",
|
|
33
|
+
"@dynamic-labs/types": "1.0.0-alpha.5"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -8,6 +8,11 @@ class TransactionGasCannotBeSponsoredError extends DynamicError.DynamicError {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super('Transaction gas cannot be sponsored.');
|
|
10
10
|
}
|
|
11
|
+
static isInstance(err) {
|
|
12
|
+
var _a;
|
|
13
|
+
const error = ((_a = err === null || err === void 0 ? void 0 : err.walk) === null || _a === void 0 ? void 0 : _a.call(err)) || err;
|
|
14
|
+
return error instanceof TransactionGasCannotBeSponsoredError;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
exports.TransactionGasCannotBeSponsoredError = TransactionGasCannotBeSponsoredError;
|
|
@@ -4,6 +4,11 @@ class TransactionGasCannotBeSponsoredError extends DynamicError {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
super('Transaction gas cannot be sponsored.');
|
|
6
6
|
}
|
|
7
|
+
static isInstance(err) {
|
|
8
|
+
var _a;
|
|
9
|
+
const error = ((_a = err === null || err === void 0 ? void 0 : err.walk) === null || _a === void 0 ? void 0 : _a.call(err)) || err;
|
|
10
|
+
return error instanceof TransactionGasCannotBeSponsoredError;
|
|
11
|
+
}
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
export { TransactionGasCannotBeSponsoredError };
|