@fedify/testing 2.4.0-dev.2047 → 2.4.0-dev.2056
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/mod.cjs +5 -0
- package/dist/mod.js +5 -0
- package/package.json +4 -4
package/dist/mod.cjs
CHANGED
|
@@ -305,6 +305,7 @@ var MockFederation = class {
|
|
|
305
305
|
outboxListenerErrorHandler;
|
|
306
306
|
mediaUploaderCallback;
|
|
307
307
|
mediaUploaderAuthorizePredicate;
|
|
308
|
+
hashlinkMediaDispatcher;
|
|
308
309
|
followingDispatcher;
|
|
309
310
|
followersDispatcher;
|
|
310
311
|
likedDispatcher;
|
|
@@ -487,6 +488,10 @@ var MockFederation = class {
|
|
|
487
488
|
return this;
|
|
488
489
|
} };
|
|
489
490
|
}
|
|
491
|
+
setHashlinkMediaDispatcher(dispatcher) {
|
|
492
|
+
if (this.hashlinkMediaDispatcher != null) throw new TypeError("Hashlink media dispatcher already set.");
|
|
493
|
+
this.hashlinkMediaDispatcher = dispatcher;
|
|
494
|
+
}
|
|
490
495
|
setOutboxPermanentFailureHandler(_handler) {}
|
|
491
496
|
async startQueue(contextData, options) {
|
|
492
497
|
this.contextData = contextData;
|
package/dist/mod.js
CHANGED
|
@@ -304,6 +304,7 @@ var MockFederation = class {
|
|
|
304
304
|
outboxListenerErrorHandler;
|
|
305
305
|
mediaUploaderCallback;
|
|
306
306
|
mediaUploaderAuthorizePredicate;
|
|
307
|
+
hashlinkMediaDispatcher;
|
|
307
308
|
followingDispatcher;
|
|
308
309
|
followersDispatcher;
|
|
309
310
|
likedDispatcher;
|
|
@@ -486,6 +487,10 @@ var MockFederation = class {
|
|
|
486
487
|
return this;
|
|
487
488
|
} };
|
|
488
489
|
}
|
|
490
|
+
setHashlinkMediaDispatcher(dispatcher) {
|
|
491
|
+
if (this.hashlinkMediaDispatcher != null) throw new TypeError("Hashlink media dispatcher already set.");
|
|
492
|
+
this.hashlinkMediaDispatcher = dispatcher;
|
|
493
|
+
}
|
|
489
494
|
setOutboxPermanentFailureHandler(_handler) {}
|
|
490
495
|
async startQueue(contextData, options) {
|
|
491
496
|
this.contextData = contextData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/testing",
|
|
3
|
-
"version": "2.4.0-dev.
|
|
3
|
+
"version": "2.4.0-dev.2056+e6394f3b",
|
|
4
4
|
"description": "Testing utilities for Fedify applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"package.json"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@fedify/fedify": "^2.4.0-dev.
|
|
50
|
+
"@fedify/fedify": "^2.4.0-dev.2056+e6394f3b"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"es-toolkit": "1.46.1",
|
|
54
54
|
"temporal-polyfill": "^1.0.1",
|
|
55
|
-
"@fedify/vocab": "2.4.0-dev.
|
|
56
|
-
"@fedify/vocab-runtime": "^2.4.0-dev.
|
|
55
|
+
"@fedify/vocab": "2.4.0-dev.2056+e6394f3b",
|
|
56
|
+
"@fedify/vocab-runtime": "^2.4.0-dev.2056+e6394f3b"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@standard-schema/spec": "^1.1.0",
|