@fedify/testing 2.5.0-dev.2855 → 2.5.0-dev.2860
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 +2 -1
- package/dist/mod.js +2 -1
- package/package.json +5 -4
package/dist/mod.cjs
CHANGED
|
@@ -735,7 +735,8 @@ var MockFederation = class {
|
|
|
735
735
|
if (listeners.length > 0 && this.contextData === void 0) throw new Error("MockFederation.receiveActivity(): contextData is not initialized. Please provide contextData through the constructor or call startQueue() before receiving activities.");
|
|
736
736
|
const receivedActivity = listeners.length > 0 && this.documentLoader != null ? activity.clone({}, {
|
|
737
737
|
documentLoader: this.documentLoader,
|
|
738
|
-
contextLoader: this.contextLoader
|
|
738
|
+
contextLoader: this.contextLoader,
|
|
739
|
+
verifyPortableObject: Reflect.get(activity, "_verifyPortableObject")
|
|
739
740
|
}) : activity;
|
|
740
741
|
if (receivedActivity !== activity) Reflect.set(receivedActivity, "_cachedJsonLd", Reflect.get(activity, "_cachedJsonLd"));
|
|
741
742
|
for (const listener of listeners) await listener(createInboxContext({
|
package/dist/mod.js
CHANGED
|
@@ -734,7 +734,8 @@ var MockFederation = class {
|
|
|
734
734
|
if (listeners.length > 0 && this.contextData === void 0) throw new Error("MockFederation.receiveActivity(): contextData is not initialized. Please provide contextData through the constructor or call startQueue() before receiving activities.");
|
|
735
735
|
const receivedActivity = listeners.length > 0 && this.documentLoader != null ? activity.clone({}, {
|
|
736
736
|
documentLoader: this.documentLoader,
|
|
737
|
-
contextLoader: this.contextLoader
|
|
737
|
+
contextLoader: this.contextLoader,
|
|
738
|
+
verifyPortableObject: Reflect.get(activity, "_verifyPortableObject")
|
|
738
739
|
}) : activity;
|
|
739
740
|
if (receivedActivity !== activity) Reflect.set(receivedActivity, "_cachedJsonLd", Reflect.get(activity, "_cachedJsonLd"));
|
|
740
741
|
for (const listener of listeners) await listener(createInboxContext({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/testing",
|
|
3
|
-
"version": "2.5.0-dev.
|
|
3
|
+
"version": "2.5.0-dev.2860+54e6d1c2",
|
|
4
4
|
"description": "Testing utilities for Fedify applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -60,16 +60,17 @@
|
|
|
60
60
|
"!dist/**/fixtures/**"
|
|
61
61
|
],
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@fedify/fedify": "^2.5.0-dev.
|
|
63
|
+
"@fedify/fedify": "^2.5.0-dev.2860+54e6d1c2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@opentelemetry/api": "~1.9.1",
|
|
67
67
|
"es-toolkit": "1.46.1",
|
|
68
68
|
"temporal-polyfill": "^1.0.1",
|
|
69
|
-
"@fedify/vocab": "2.5.0-dev.
|
|
70
|
-
"@fedify/vocab-runtime": "^2.5.0-dev.
|
|
69
|
+
"@fedify/vocab": "2.5.0-dev.2860+54e6d1c2",
|
|
70
|
+
"@fedify/vocab-runtime": "^2.5.0-dev.2860+54e6d1c2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
+
"@logtape/logtape": "2.4.2",
|
|
73
74
|
"@standard-schema/spec": "^1.1.0",
|
|
74
75
|
"tsdown": "^0.22.0",
|
|
75
76
|
"typescript": "^6.0.3",
|