@atproto/pds 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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atproto/pds
2
2
 
3
+ ## 0.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`0c815b964`](https://github.com/bluesky-social/atproto/commit/0c815b964c030aa0f277c40bf9786f130dc320f4), [`61b3d2525`](https://github.com/bluesky-social/atproto/commit/61b3d25253353db2da1336004f94e7dc5adb0410), [`43531905c`](https://github.com/bluesky-social/atproto/commit/43531905ce1aec6d36d9be5943782811ecca6e6d), [`61b3d2525`](https://github.com/bluesky-social/atproto/commit/61b3d25253353db2da1336004f94e7dc5adb0410)]:
8
+ - @atproto/syntax@0.2.0
9
+ - @atproto/api@0.10.2
10
+ - @atproto/lexicon@0.3.2
11
+ - @atproto/repo@0.3.8
12
+ - @atproto/xrpc@0.4.2
13
+ - @atproto/xrpc-server@0.4.3
14
+ - @atproto/aws@0.1.8
15
+
3
16
  ## 0.4.1
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -202482,7 +202482,7 @@ var ensureValidRecordKey = (rkey) => {
202482
202482
  if (rkey.length > 512 || rkey.length < 1) {
202483
202483
  throw new InvalidRecordKeyError("record key must be 1 to 512 characters");
202484
202484
  }
202485
- if (!/^[a-zA-Z0-9_~.-]{1,512}$/.test(rkey)) {
202485
+ if (!/^[a-zA-Z0-9_~.:-]{1,512}$/.test(rkey)) {
202486
202486
  throw new InvalidRecordKeyError("record key syntax not valid (regex)");
202487
202487
  }
202488
202488
  if (rkey == "." || rkey == "..")
@@ -217566,7 +217566,7 @@ var schemaDict = {
217566
217566
  defs: {
217567
217567
  main: {
217568
217568
  type: "query",
217569
- description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
217569
+ description: "DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.",
217570
217570
  parameters: {
217571
217571
  type: "params",
217572
217572
  properties: {
@@ -235743,6 +235743,9 @@ var getKey = (doc) => {
235743
235743
  const key = getSigningKey(doc);
235744
235744
  if (!key)
235745
235745
  return void 0;
235746
+ return getDidKeyFromMultibase(key);
235747
+ };
235748
+ var getDidKeyFromMultibase = (key) => {
235746
235749
  const keyBytes = multibaseToBytes(key.publicKeyMultibase);
235747
235750
  let didKey = void 0;
235748
235751
  if (key.type === "EcdsaSecp256r1VerificationKey2019") {
@@ -244050,7 +244053,7 @@ var schemaDict2 = {
244050
244053
  defs: {
244051
244054
  main: {
244052
244055
  type: "query",
244053
- description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
244056
+ description: "DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.",
244054
244057
  parameters: {
244055
244058
  type: "params",
244056
244059
  properties: {