@w3ux/utils 0.6.0 → 0.7.0
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/base.d.cts +1 -1
- package/base.d.ts +1 -1
- package/package.json +1 -1
package/base.d.cts
CHANGED
|
@@ -66,7 +66,7 @@ declare const appendOr: (condition: boolean | string | undefined, value: string,
|
|
|
66
66
|
* @name formatAccountSs58
|
|
67
67
|
* @summary Formats an address with the supplied ss58 prefix, or returns null if invalid.
|
|
68
68
|
*/
|
|
69
|
-
declare const formatAccountSs58: (address: string, ss58Prefix: number) => string;
|
|
69
|
+
declare const formatAccountSs58: (address: string, ss58Prefix: number) => string | null;
|
|
70
70
|
/**
|
|
71
71
|
* @name removeHexPrefix
|
|
72
72
|
* @summary Takes a string str as input and returns a new string with the "0x" prefix removed if it
|
package/base.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ declare const appendOr: (condition: boolean | string | undefined, value: string,
|
|
|
66
66
|
* @name formatAccountSs58
|
|
67
67
|
* @summary Formats an address with the supplied ss58 prefix, or returns null if invalid.
|
|
68
68
|
*/
|
|
69
|
-
declare const formatAccountSs58: (address: string, ss58Prefix: number) => string;
|
|
69
|
+
declare const formatAccountSs58: (address: string, ss58Prefix: number) => string | null;
|
|
70
70
|
/**
|
|
71
71
|
* @name removeHexPrefix
|
|
72
72
|
* @summary Takes a string str as input and returns a new string with the "0x" prefix removed if it
|