@fedify/fedify 0.15.1 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ export async function handleWebFinger(request, { context, actorDispatcher, actor
24
24
  if (e instanceof TypeError) {
25
25
  return new Response("Invalid resource URL.", { status: 400 });
26
26
  }
27
- throw new e();
27
+ throw e;
28
28
  }
29
29
  if (actorDispatcher == null) {
30
30
  logger.error("Actor dispatcher is not set.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.15.1",
3
+ "version": "0.15.3",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/runtime/contexts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAonB9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/runtime/contexts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA+nB9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -638,6 +638,7 @@ export declare class Object {
638
638
  contextLoader?: DocumentLoader;
639
639
  context?: string | Record<string, string> | (string | Record<string, string>)[];
640
640
  }): Promise<unknown>;
641
+ protected isCompactable(): boolean;
641
642
  /**
642
643
  * Converts a JSON-LD structure to an object of this type.
643
644
  * @param json The JSON-LD structure to convert.
@@ -786,6 +787,7 @@ export declare class Emoji extends Object {
786
787
  contextLoader?: DocumentLoader;
787
788
  context?: string | Record<string, string> | (string | Record<string, string>)[];
788
789
  }): Promise<unknown>;
790
+ protected isCompactable(): boolean;
789
791
  /**
790
792
  * Converts a JSON-LD structure to an object of this type.
791
793
  * @param json The JSON-LD structure to convert.
@@ -952,6 +954,7 @@ export declare class ChatMessage extends Object {
952
954
  contextLoader?: DocumentLoader;
953
955
  context?: string | Record<string, string> | (string | Record<string, string>)[];
954
956
  }): Promise<unknown>;
957
+ protected isCompactable(): boolean;
955
958
  /**
956
959
  * Converts a JSON-LD structure to an object of this type.
957
960
  * @param json The JSON-LD structure to convert.
@@ -1023,6 +1026,7 @@ export declare class PropertyValue {
1023
1026
  contextLoader?: DocumentLoader;
1024
1027
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1025
1028
  }): Promise<unknown>;
1029
+ protected isCompactable(): boolean;
1026
1030
  /**
1027
1031
  * Converts a JSON-LD structure to an object of this type.
1028
1032
  * @param json The JSON-LD structure to convert.
@@ -1129,6 +1133,7 @@ export declare class DataIntegrityProof {
1129
1133
  contextLoader?: DocumentLoader;
1130
1134
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1131
1135
  }): Promise<unknown>;
1136
+ protected isCompactable(): boolean;
1132
1137
  /**
1133
1138
  * Converts a JSON-LD structure to an object of this type.
1134
1139
  * @param json The JSON-LD structure to convert.
@@ -1210,6 +1215,7 @@ export declare class CryptographicKey {
1210
1215
  contextLoader?: DocumentLoader;
1211
1216
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1212
1217
  }): Promise<unknown>;
1218
+ protected isCompactable(): boolean;
1213
1219
  /**
1214
1220
  * Converts a JSON-LD structure to an object of this type.
1215
1221
  * @param json The JSON-LD structure to convert.
@@ -1297,6 +1303,7 @@ export declare class Multikey {
1297
1303
  contextLoader?: DocumentLoader;
1298
1304
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1299
1305
  }): Promise<unknown>;
1306
+ protected isCompactable(): boolean;
1300
1307
  /**
1301
1308
  * Converts a JSON-LD structure to an object of this type.
1302
1309
  * @param json The JSON-LD structure to convert.
@@ -1659,6 +1666,7 @@ export declare class Activity extends Object {
1659
1666
  contextLoader?: DocumentLoader;
1660
1667
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1661
1668
  }): Promise<unknown>;
1669
+ protected isCompactable(): boolean;
1662
1670
  /**
1663
1671
  * Converts a JSON-LD structure to an object of this type.
1664
1672
  * @param json The JSON-LD structure to convert.
@@ -1833,6 +1841,7 @@ export declare class Accept extends Activity {
1833
1841
  contextLoader?: DocumentLoader;
1834
1842
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1835
1843
  }): Promise<unknown>;
1844
+ protected isCompactable(): boolean;
1836
1845
  /**
1837
1846
  * Converts a JSON-LD structure to an object of this type.
1838
1847
  * @param json The JSON-LD structure to convert.
@@ -2008,6 +2017,7 @@ export declare class Add extends Activity {
2008
2017
  contextLoader?: DocumentLoader;
2009
2018
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2010
2019
  }): Promise<unknown>;
2020
+ protected isCompactable(): boolean;
2011
2021
  /**
2012
2022
  * Converts a JSON-LD structure to an object of this type.
2013
2023
  * @param json The JSON-LD structure to convert.
@@ -2182,6 +2192,7 @@ export declare class Announce extends Activity {
2182
2192
  contextLoader?: DocumentLoader;
2183
2193
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2184
2194
  }): Promise<unknown>;
2195
+ protected isCompactable(): boolean;
2185
2196
  /**
2186
2197
  * Converts a JSON-LD structure to an object of this type.
2187
2198
  * @param json The JSON-LD structure to convert.
@@ -2649,6 +2660,7 @@ export declare class Application extends Object {
2649
2660
  contextLoader?: DocumentLoader;
2650
2661
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2651
2662
  }): Promise<unknown>;
2663
+ protected isCompactable(): boolean;
2652
2664
  /**
2653
2665
  * Converts a JSON-LD structure to an object of this type.
2654
2666
  * @param json The JSON-LD structure to convert.
@@ -2823,6 +2835,7 @@ export declare class IntransitiveActivity extends Activity {
2823
2835
  contextLoader?: DocumentLoader;
2824
2836
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2825
2837
  }): Promise<unknown>;
2838
+ protected isCompactable(): boolean;
2826
2839
  /**
2827
2840
  * Converts a JSON-LD structure to an object of this type.
2828
2841
  * @param json The JSON-LD structure to convert.
@@ -2997,6 +3010,7 @@ export declare class Arrive extends IntransitiveActivity {
2997
3010
  contextLoader?: DocumentLoader;
2998
3011
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2999
3012
  }): Promise<unknown>;
3013
+ protected isCompactable(): boolean;
3000
3014
  /**
3001
3015
  * Converts a JSON-LD structure to an object of this type.
3002
3016
  * @param json The JSON-LD structure to convert.
@@ -3159,6 +3173,7 @@ export declare class Article extends Object {
3159
3173
  contextLoader?: DocumentLoader;
3160
3174
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3161
3175
  }): Promise<unknown>;
3176
+ protected isCompactable(): boolean;
3162
3177
  /**
3163
3178
  * Converts a JSON-LD structure to an object of this type.
3164
3179
  * @param json The JSON-LD structure to convert.
@@ -3319,6 +3334,7 @@ export declare class Document extends Object {
3319
3334
  contextLoader?: DocumentLoader;
3320
3335
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3321
3336
  }): Promise<unknown>;
3337
+ protected isCompactable(): boolean;
3322
3338
  /**
3323
3339
  * Converts a JSON-LD structure to an object of this type.
3324
3340
  * @param json The JSON-LD structure to convert.
@@ -3471,6 +3487,7 @@ export declare class Audio extends Document {
3471
3487
  contextLoader?: DocumentLoader;
3472
3488
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3473
3489
  }): Promise<unknown>;
3490
+ protected isCompactable(): boolean;
3474
3491
  /**
3475
3492
  * Converts a JSON-LD structure to an object of this type.
3476
3493
  * @param json The JSON-LD structure to convert.
@@ -3644,6 +3661,7 @@ export declare class Ignore extends Activity {
3644
3661
  contextLoader?: DocumentLoader;
3645
3662
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3646
3663
  }): Promise<unknown>;
3664
+ protected isCompactable(): boolean;
3647
3665
  /**
3648
3666
  * Converts a JSON-LD structure to an object of this type.
3649
3667
  * @param json The JSON-LD structure to convert.
@@ -3819,6 +3837,7 @@ export declare class Block extends Ignore {
3819
3837
  contextLoader?: DocumentLoader;
3820
3838
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3821
3839
  }): Promise<unknown>;
3840
+ protected isCompactable(): boolean;
3822
3841
  /**
3823
3842
  * Converts a JSON-LD structure to an object of this type.
3824
3843
  * @param json The JSON-LD structure to convert.
@@ -4042,6 +4061,7 @@ export declare class Collection extends Object {
4042
4061
  contextLoader?: DocumentLoader;
4043
4062
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4044
4063
  }): Promise<unknown>;
4064
+ protected isCompactable(): boolean;
4045
4065
  /**
4046
4066
  * Converts a JSON-LD structure to an object of this type.
4047
4067
  * @param json The JSON-LD structure to convert.
@@ -4248,6 +4268,7 @@ export declare class CollectionPage extends Collection {
4248
4268
  contextLoader?: DocumentLoader;
4249
4269
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4250
4270
  }): Promise<unknown>;
4271
+ protected isCompactable(): boolean;
4251
4272
  /**
4252
4273
  * Converts a JSON-LD structure to an object of this type.
4253
4274
  * @param json The JSON-LD structure to convert.
@@ -4420,6 +4441,7 @@ export declare class Create extends Activity {
4420
4441
  contextLoader?: DocumentLoader;
4421
4442
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4422
4443
  }): Promise<unknown>;
4444
+ protected isCompactable(): boolean;
4423
4445
  /**
4424
4446
  * Converts a JSON-LD structure to an object of this type.
4425
4447
  * @param json The JSON-LD structure to convert.
@@ -4593,6 +4615,7 @@ export declare class Delete extends Activity {
4593
4615
  contextLoader?: DocumentLoader;
4594
4616
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4595
4617
  }): Promise<unknown>;
4618
+ protected isCompactable(): boolean;
4596
4619
  /**
4597
4620
  * Converts a JSON-LD structure to an object of this type.
4598
4621
  * @param json The JSON-LD structure to convert.
@@ -4765,6 +4788,7 @@ export declare class Dislike extends Activity {
4765
4788
  contextLoader?: DocumentLoader;
4766
4789
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4767
4790
  }): Promise<unknown>;
4791
+ protected isCompactable(): boolean;
4768
4792
  /**
4769
4793
  * Converts a JSON-LD structure to an object of this type.
4770
4794
  * @param json The JSON-LD structure to convert.
@@ -4879,6 +4903,7 @@ export declare class Endpoints {
4879
4903
  contextLoader?: DocumentLoader;
4880
4904
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4881
4905
  }): Promise<unknown>;
4906
+ protected isCompactable(): boolean;
4882
4907
  /**
4883
4908
  * Converts a JSON-LD structure to an object of this type.
4884
4909
  * @param json The JSON-LD structure to convert.
@@ -5027,6 +5052,7 @@ export declare class Event extends Object {
5027
5052
  contextLoader?: DocumentLoader;
5028
5053
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5029
5054
  }): Promise<unknown>;
5055
+ protected isCompactable(): boolean;
5030
5056
  /**
5031
5057
  * Converts a JSON-LD structure to an object of this type.
5032
5058
  * @param json The JSON-LD structure to convert.
@@ -5201,6 +5227,7 @@ export declare class Flag extends Activity {
5201
5227
  contextLoader?: DocumentLoader;
5202
5228
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5203
5229
  }): Promise<unknown>;
5230
+ protected isCompactable(): boolean;
5204
5231
  /**
5205
5232
  * Converts a JSON-LD structure to an object of this type.
5206
5233
  * @param json The JSON-LD structure to convert.
@@ -5376,6 +5403,7 @@ export declare class Follow extends Activity {
5376
5403
  contextLoader?: DocumentLoader;
5377
5404
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5378
5405
  }): Promise<unknown>;
5406
+ protected isCompactable(): boolean;
5379
5407
  /**
5380
5408
  * Converts a JSON-LD structure to an object of this type.
5381
5409
  * @param json The JSON-LD structure to convert.
@@ -5843,6 +5871,7 @@ export declare class Group extends Object {
5843
5871
  contextLoader?: DocumentLoader;
5844
5872
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5845
5873
  }): Promise<unknown>;
5874
+ protected isCompactable(): boolean;
5846
5875
  /**
5847
5876
  * Converts a JSON-LD structure to an object of this type.
5848
5877
  * @param json The JSON-LD structure to convert.
@@ -5989,6 +6018,7 @@ export declare class Link {
5989
6018
  contextLoader?: DocumentLoader;
5990
6019
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5991
6020
  }): Promise<unknown>;
6021
+ protected isCompactable(): boolean;
5992
6022
  /**
5993
6023
  * Converts a JSON-LD structure to an object of this type.
5994
6024
  * @param json The JSON-LD structure to convert.
@@ -6069,6 +6099,7 @@ export declare class Hashtag extends Link {
6069
6099
  contextLoader?: DocumentLoader;
6070
6100
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6071
6101
  }): Promise<unknown>;
6102
+ protected isCompactable(): boolean;
6072
6103
  /**
6073
6104
  * Converts a JSON-LD structure to an object of this type.
6074
6105
  * @param json The JSON-LD structure to convert.
@@ -6221,6 +6252,7 @@ export declare class Image extends Document {
6221
6252
  contextLoader?: DocumentLoader;
6222
6253
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6223
6254
  }): Promise<unknown>;
6255
+ protected isCompactable(): boolean;
6224
6256
  /**
6225
6257
  * Converts a JSON-LD structure to an object of this type.
6226
6258
  * @param json The JSON-LD structure to convert.
@@ -6395,6 +6427,7 @@ export declare class Offer extends Activity {
6395
6427
  contextLoader?: DocumentLoader;
6396
6428
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6397
6429
  }): Promise<unknown>;
6430
+ protected isCompactable(): boolean;
6398
6431
  /**
6399
6432
  * Converts a JSON-LD structure to an object of this type.
6400
6433
  * @param json The JSON-LD structure to convert.
@@ -6568,6 +6601,7 @@ export declare class Invite extends Offer {
6568
6601
  contextLoader?: DocumentLoader;
6569
6602
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6570
6603
  }): Promise<unknown>;
6604
+ protected isCompactable(): boolean;
6571
6605
  /**
6572
6606
  * Converts a JSON-LD structure to an object of this type.
6573
6607
  * @param json The JSON-LD structure to convert.
@@ -6741,6 +6775,7 @@ export declare class Join extends Activity {
6741
6775
  contextLoader?: DocumentLoader;
6742
6776
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6743
6777
  }): Promise<unknown>;
6778
+ protected isCompactable(): boolean;
6744
6779
  /**
6745
6780
  * Converts a JSON-LD structure to an object of this type.
6746
6781
  * @param json The JSON-LD structure to convert.
@@ -6914,6 +6949,7 @@ export declare class Leave extends Activity {
6914
6949
  contextLoader?: DocumentLoader;
6915
6950
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6916
6951
  }): Promise<unknown>;
6952
+ protected isCompactable(): boolean;
6917
6953
  /**
6918
6954
  * Converts a JSON-LD structure to an object of this type.
6919
6955
  * @param json The JSON-LD structure to convert.
@@ -7087,6 +7123,7 @@ export declare class Like extends Activity {
7087
7123
  contextLoader?: DocumentLoader;
7088
7124
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7089
7125
  }): Promise<unknown>;
7126
+ protected isCompactable(): boolean;
7090
7127
  /**
7091
7128
  * Converts a JSON-LD structure to an object of this type.
7092
7129
  * @param json The JSON-LD structure to convert.
@@ -7259,6 +7296,7 @@ export declare class Listen extends Activity {
7259
7296
  contextLoader?: DocumentLoader;
7260
7297
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7261
7298
  }): Promise<unknown>;
7299
+ protected isCompactable(): boolean;
7262
7300
  /**
7263
7301
  * Converts a JSON-LD structure to an object of this type.
7264
7302
  * @param json The JSON-LD structure to convert.
@@ -7337,6 +7375,7 @@ export declare class Mention extends Link {
7337
7375
  contextLoader?: DocumentLoader;
7338
7376
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7339
7377
  }): Promise<unknown>;
7378
+ protected isCompactable(): boolean;
7340
7379
  /**
7341
7380
  * Converts a JSON-LD structure to an object of this type.
7342
7381
  * @param json The JSON-LD structure to convert.
@@ -7511,6 +7550,7 @@ export declare class Move extends Activity {
7511
7550
  contextLoader?: DocumentLoader;
7512
7551
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7513
7552
  }): Promise<unknown>;
7553
+ protected isCompactable(): boolean;
7514
7554
  /**
7515
7555
  * Converts a JSON-LD structure to an object of this type.
7516
7556
  * @param json The JSON-LD structure to convert.
@@ -7674,6 +7714,7 @@ export declare class Note extends Object {
7674
7714
  contextLoader?: DocumentLoader;
7675
7715
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7676
7716
  }): Promise<unknown>;
7717
+ protected isCompactable(): boolean;
7677
7718
  /**
7678
7719
  * Converts a JSON-LD structure to an object of this type.
7679
7720
  * @param json The JSON-LD structure to convert.
@@ -7847,6 +7888,7 @@ export declare class OrderedCollection extends Collection {
7847
7888
  contextLoader?: DocumentLoader;
7848
7889
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7849
7890
  }): Promise<unknown>;
7891
+ protected isCompactable(): boolean;
7850
7892
  /**
7851
7893
  * Converts a JSON-LD structure to an object of this type.
7852
7894
  * @param json The JSON-LD structure to convert.
@@ -8033,6 +8075,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
8033
8075
  contextLoader?: DocumentLoader;
8034
8076
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8035
8077
  }): Promise<unknown>;
8078
+ protected isCompactable(): boolean;
8036
8079
  /**
8037
8080
  * Converts a JSON-LD structure to an object of this type.
8038
8081
  * @param json The JSON-LD structure to convert.
@@ -8500,6 +8543,7 @@ export declare class Organization extends Object {
8500
8543
  contextLoader?: DocumentLoader;
8501
8544
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8502
8545
  }): Promise<unknown>;
8546
+ protected isCompactable(): boolean;
8503
8547
  /**
8504
8548
  * Converts a JSON-LD structure to an object of this type.
8505
8549
  * @param json The JSON-LD structure to convert.
@@ -8652,6 +8696,7 @@ export declare class Page extends Document {
8652
8696
  contextLoader?: DocumentLoader;
8653
8697
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8654
8698
  }): Promise<unknown>;
8699
+ protected isCompactable(): boolean;
8655
8700
  /**
8656
8701
  * Converts a JSON-LD structure to an object of this type.
8657
8702
  * @param json The JSON-LD structure to convert.
@@ -9119,6 +9164,7 @@ export declare class Person extends Object {
9119
9164
  contextLoader?: DocumentLoader;
9120
9165
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9121
9166
  }): Promise<unknown>;
9167
+ protected isCompactable(): boolean;
9122
9168
  /**
9123
9169
  * Converts a JSON-LD structure to an object of this type.
9124
9170
  * @param json The JSON-LD structure to convert.
@@ -9307,6 +9353,7 @@ export declare class Place extends Object {
9307
9353
  contextLoader?: DocumentLoader;
9308
9354
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9309
9355
  }): Promise<unknown>;
9356
+ protected isCompactable(): boolean;
9310
9357
  /**
9311
9358
  * Converts a JSON-LD structure to an object of this type.
9312
9359
  * @param json The JSON-LD structure to convert.
@@ -9475,6 +9522,7 @@ export declare class Profile extends Object {
9475
9522
  contextLoader?: DocumentLoader;
9476
9523
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9477
9524
  }): Promise<unknown>;
9525
+ protected isCompactable(): boolean;
9478
9526
  /**
9479
9527
  * Converts a JSON-LD structure to an object of this type.
9480
9528
  * @param json The JSON-LD structure to convert.
@@ -9714,6 +9762,7 @@ export declare class Question extends IntransitiveActivity {
9714
9762
  contextLoader?: DocumentLoader;
9715
9763
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9716
9764
  }): Promise<unknown>;
9765
+ protected isCompactable(): boolean;
9717
9766
  /**
9718
9767
  * Converts a JSON-LD structure to an object of this type.
9719
9768
  * @param json The JSON-LD structure to convert.
@@ -9886,6 +9935,7 @@ export declare class Read extends Activity {
9886
9935
  contextLoader?: DocumentLoader;
9887
9936
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9888
9937
  }): Promise<unknown>;
9938
+ protected isCompactable(): boolean;
9889
9939
  /**
9890
9940
  * Converts a JSON-LD structure to an object of this type.
9891
9941
  * @param json The JSON-LD structure to convert.
@@ -10059,6 +10109,7 @@ export declare class Reject extends Activity {
10059
10109
  contextLoader?: DocumentLoader;
10060
10110
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10061
10111
  }): Promise<unknown>;
10112
+ protected isCompactable(): boolean;
10062
10113
  /**
10063
10114
  * Converts a JSON-LD structure to an object of this type.
10064
10115
  * @param json The JSON-LD structure to convert.
@@ -10295,6 +10346,7 @@ export declare class Relationship extends Object {
10295
10346
  contextLoader?: DocumentLoader;
10296
10347
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10297
10348
  }): Promise<unknown>;
10349
+ protected isCompactable(): boolean;
10298
10350
  /**
10299
10351
  * Converts a JSON-LD structure to an object of this type.
10300
10352
  * @param json The JSON-LD structure to convert.
@@ -10468,6 +10520,7 @@ export declare class Remove extends Activity {
10468
10520
  contextLoader?: DocumentLoader;
10469
10521
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10470
10522
  }): Promise<unknown>;
10523
+ protected isCompactable(): boolean;
10471
10524
  /**
10472
10525
  * Converts a JSON-LD structure to an object of this type.
10473
10526
  * @param json The JSON-LD structure to convert.
@@ -10935,6 +10988,7 @@ export declare class Service extends Object {
10935
10988
  contextLoader?: DocumentLoader;
10936
10989
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10937
10990
  }): Promise<unknown>;
10991
+ protected isCompactable(): boolean;
10938
10992
  /**
10939
10993
  * Converts a JSON-LD structure to an object of this type.
10940
10994
  * @param json The JSON-LD structure to convert.
@@ -11011,6 +11065,7 @@ export declare class Source {
11011
11065
  contextLoader?: DocumentLoader;
11012
11066
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11013
11067
  }): Promise<unknown>;
11068
+ protected isCompactable(): boolean;
11014
11069
  /**
11015
11070
  * Converts a JSON-LD structure to an object of this type.
11016
11071
  * @param json The JSON-LD structure to convert.
@@ -11184,6 +11239,7 @@ export declare class TentativeAccept extends Accept {
11184
11239
  contextLoader?: DocumentLoader;
11185
11240
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11186
11241
  }): Promise<unknown>;
11242
+ protected isCompactable(): boolean;
11187
11243
  /**
11188
11244
  * Converts a JSON-LD structure to an object of this type.
11189
11245
  * @param json The JSON-LD structure to convert.
@@ -11357,6 +11413,7 @@ export declare class TentativeReject extends Reject {
11357
11413
  contextLoader?: DocumentLoader;
11358
11414
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11359
11415
  }): Promise<unknown>;
11416
+ protected isCompactable(): boolean;
11360
11417
  /**
11361
11418
  * Converts a JSON-LD structure to an object of this type.
11362
11419
  * @param json The JSON-LD structure to convert.
@@ -11513,6 +11570,7 @@ export declare class Tombstone extends Object {
11513
11570
  contextLoader?: DocumentLoader;
11514
11571
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11515
11572
  }): Promise<unknown>;
11573
+ protected isCompactable(): boolean;
11516
11574
  /**
11517
11575
  * Converts a JSON-LD structure to an object of this type.
11518
11576
  * @param json The JSON-LD structure to convert.
@@ -11688,6 +11746,7 @@ export declare class Travel extends IntransitiveActivity {
11688
11746
  contextLoader?: DocumentLoader;
11689
11747
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11690
11748
  }): Promise<unknown>;
11749
+ protected isCompactable(): boolean;
11691
11750
  /**
11692
11751
  * Converts a JSON-LD structure to an object of this type.
11693
11752
  * @param json The JSON-LD structure to convert.
@@ -11866,6 +11925,7 @@ export declare class Undo extends Activity {
11866
11925
  contextLoader?: DocumentLoader;
11867
11926
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11868
11927
  }): Promise<unknown>;
11928
+ protected isCompactable(): boolean;
11869
11929
  /**
11870
11930
  * Converts a JSON-LD structure to an object of this type.
11871
11931
  * @param json The JSON-LD structure to convert.
@@ -12042,6 +12102,7 @@ export declare class Update extends Activity {
12042
12102
  contextLoader?: DocumentLoader;
12043
12103
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12044
12104
  }): Promise<unknown>;
12105
+ protected isCompactable(): boolean;
12045
12106
  /**
12046
12107
  * Converts a JSON-LD structure to an object of this type.
12047
12108
  * @param json The JSON-LD structure to convert.
@@ -12194,6 +12255,7 @@ export declare class Video extends Document {
12194
12255
  contextLoader?: DocumentLoader;
12195
12256
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12196
12257
  }): Promise<unknown>;
12258
+ protected isCompactable(): boolean;
12197
12259
  /**
12198
12260
  * Converts a JSON-LD structure to an object of this type.
12199
12261
  * @param json The JSON-LD structure to convert.
@@ -12366,6 +12428,7 @@ export declare class View extends Activity {
12366
12428
  contextLoader?: DocumentLoader;
12367
12429
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12368
12430
  }): Promise<unknown>;
12431
+ protected isCompactable(): boolean;
12369
12432
  /**
12370
12433
  * Converts a JSON-LD structure to an object of this type.
12371
12434
  * @param json The JSON-LD structure to convert.