@fedify/testing 2.4.0-dev.2065 → 2.4.0-dev.2071
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 +3 -1
- package/dist/mod.js +3 -1
- package/package.json +4 -4
package/dist/mod.cjs
CHANGED
|
@@ -343,15 +343,17 @@ var MockFederation = class {
|
|
|
343
343
|
setActorDispatcher(path, dispatcher) {
|
|
344
344
|
this.actorDispatchers.set(path, dispatcher);
|
|
345
345
|
this.actorPath = path;
|
|
346
|
-
|
|
346
|
+
const setters = {
|
|
347
347
|
setKeyPairsDispatcher: (keyPairsDispatcher) => {
|
|
348
348
|
this.actorKeyPairsDispatcher = keyPairsDispatcher;
|
|
349
349
|
return this;
|
|
350
350
|
},
|
|
351
351
|
mapHandle: () => this,
|
|
352
352
|
mapAlias: () => this,
|
|
353
|
+
mapPortableActorId: () => setters,
|
|
353
354
|
authorize: () => this
|
|
354
355
|
};
|
|
356
|
+
return setters;
|
|
355
357
|
}
|
|
356
358
|
setObjectDispatcher(cls, path, dispatcher) {
|
|
357
359
|
this.objectDispatchers.set(path, dispatcher);
|
package/dist/mod.js
CHANGED
|
@@ -342,15 +342,17 @@ var MockFederation = class {
|
|
|
342
342
|
setActorDispatcher(path, dispatcher) {
|
|
343
343
|
this.actorDispatchers.set(path, dispatcher);
|
|
344
344
|
this.actorPath = path;
|
|
345
|
-
|
|
345
|
+
const setters = {
|
|
346
346
|
setKeyPairsDispatcher: (keyPairsDispatcher) => {
|
|
347
347
|
this.actorKeyPairsDispatcher = keyPairsDispatcher;
|
|
348
348
|
return this;
|
|
349
349
|
},
|
|
350
350
|
mapHandle: () => this,
|
|
351
351
|
mapAlias: () => this,
|
|
352
|
+
mapPortableActorId: () => setters,
|
|
352
353
|
authorize: () => this
|
|
353
354
|
};
|
|
355
|
+
return setters;
|
|
354
356
|
}
|
|
355
357
|
setObjectDispatcher(cls, path, dispatcher) {
|
|
356
358
|
this.objectDispatchers.set(path, dispatcher);
|
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.2071+8b9dccb9",
|
|
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.2071+8b9dccb9"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"es-toolkit": "1.46.1",
|
|
54
54
|
"temporal-polyfill": "^1.0.1",
|
|
55
|
-
"@fedify/vocab
|
|
56
|
-
"@fedify/vocab": "2.4.0-dev.
|
|
55
|
+
"@fedify/vocab": "2.4.0-dev.2071+8b9dccb9",
|
|
56
|
+
"@fedify/vocab-runtime": "^2.4.0-dev.2071+8b9dccb9"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@standard-schema/spec": "^1.1.0",
|