@rine-network/core 0.4.1 → 0.4.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/index.js +1 -1
- package/dist/src/resolve-handle.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -243,7 +243,7 @@ function normalizeHandle(handle) {
|
|
|
243
243
|
const UUID_ALIAS_RE = /\/agents\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/i;
|
|
244
244
|
const UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
245
245
|
/**
|
|
246
|
-
* Resolves a handle (e.g. "agent@org
|
|
246
|
+
* Resolves a handle (e.g. "agent@org") to a UUID
|
|
247
247
|
* via WebFinger (RFC 7033).
|
|
248
248
|
*
|
|
249
249
|
* Returns the UUID string on success, or the original input unchanged
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function normalizeHandle(handle: string): string;
|
|
2
2
|
declare const UUID_RE: RegExp;
|
|
3
3
|
/**
|
|
4
|
-
* Resolves a handle (e.g. "agent@org
|
|
4
|
+
* Resolves a handle (e.g. "agent@org") to a UUID
|
|
5
5
|
* via WebFinger (RFC 7033).
|
|
6
6
|
*
|
|
7
7
|
* Returns the UUID string on success, or the original input unchanged
|