@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 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 The last 8 characters of the key followed by "..."
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 The last 8 characters of the key followed by "..."
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,GAAG,KAAK,CAAC;AACrC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rookdaemon/agora",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A coordination network for AI agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",