@injectivelabs/exceptions 1.10.13-beta.5 → 1.10.13-beta.7
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/dist/cjs/utils/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const toPascalCase = (str) => `${str}`
|
|
|
9
9
|
.replace(new RegExp(/\w/), (s) => s.toUpperCase());
|
|
10
10
|
exports.toPascalCase = toPascalCase;
|
|
11
11
|
const formatNotificationDescription = (description) => {
|
|
12
|
-
const DESCRIPTION_CHARACTER_LIMIT =
|
|
12
|
+
const DESCRIPTION_CHARACTER_LIMIT = 50;
|
|
13
13
|
if (description.length <= DESCRIPTION_CHARACTER_LIMIT) {
|
|
14
14
|
return {
|
|
15
15
|
description,
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export const toPascalCase = (str) => `${str}`
|
|
|
5
5
|
.replace(new RegExp(/\s+(.)(\w*)/, 'g'), (_$1, $2, $3) => `${$2.toUpperCase() + $3}`)
|
|
6
6
|
.replace(new RegExp(/\w/), (s) => s.toUpperCase());
|
|
7
7
|
export const formatNotificationDescription = (description) => {
|
|
8
|
-
const DESCRIPTION_CHARACTER_LIMIT =
|
|
8
|
+
const DESCRIPTION_CHARACTER_LIMIT = 50;
|
|
9
9
|
if (description.length <= DESCRIPTION_CHARACTER_LIMIT) {
|
|
10
10
|
return {
|
|
11
11
|
description,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/exceptions",
|
|
3
3
|
"description": "List of exceptions that can be reused throughout Injective's projects.",
|
|
4
|
-
"version": "1.10.13-beta.
|
|
4
|
+
"version": "1.10.13-beta.7",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs/index.js",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"link-module-alias": "^1.2.0",
|
|
38
38
|
"shx": "^0.3.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "56eac07a638a82525b8e7e5376ec7f270f823a73"
|
|
41
41
|
}
|