@atproto/api 0.2.4 → 0.2.5
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/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5548,7 +5548,7 @@ var ensureValidAtUri = (uri2) => {
|
|
|
5548
5548
|
};
|
|
5549
5549
|
|
|
5550
5550
|
// ../uri/src/index.ts
|
|
5551
|
-
var ATP_URI_REGEX = /^(at:\/\/)?((?:did:[a-z0-9:%-]+)|(?:[a-
|
|
5551
|
+
var ATP_URI_REGEX = /^(at:\/\/)?((?:did:[a-z0-9:%-]+)|(?:[a-z0-9][a-z0-9.:-]*))(\/[^?#\s]*)?(\?[^#\s]+)?(#[^\s]+)?$/i;
|
|
5552
5552
|
var RELATIVE_REGEX = /^(\/[^?#\s]*)?(\?[^#\s]+)?(#[^\s]+)?$/i;
|
|
5553
5553
|
var AtUri = class {
|
|
5554
5554
|
constructor(uri2, base3) {
|