@rookdaemon/agora 0.2.1 → 0.2.2
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/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/utils.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* are more distinguishable than the first 8.
|
|
5
5
|
*
|
|
6
6
|
* @param publicKey - The full public key hex string
|
|
7
|
-
* @returns
|
|
7
|
+
* @returns "..." followed by the last 8 characters of the key
|
|
8
8
|
*/
|
|
9
9
|
export declare function shortKey(publicKey: string): string;
|
|
10
10
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* are more distinguishable than the first 8.
|
|
5
5
|
*
|
|
6
6
|
* @param publicKey - The full public key hex string
|
|
7
|
-
* @returns
|
|
7
|
+
* @returns "..." followed by the last 8 characters of the key
|
|
8
8
|
*/
|
|
9
9
|
export function shortKey(publicKey) {
|
|
10
|
-
return publicKey.slice(-8)
|
|
10
|
+
return "..." + publicKey.slice(-8);
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=utils.js.map
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,QAAQ,CAAC,SAAiB;IACxC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,QAAQ,CAAC,SAAiB;IACxC,OAAO,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACrC,CAAC"}
|