@fedify/testing 2.4.5 → 2.4.6-dev.2837
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
|
@@ -721,7 +721,8 @@ var MockFederation = class {
|
|
|
721
721
|
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.");
|
|
722
722
|
const receivedActivity = listeners.length > 0 && this.documentLoader != null ? activity.clone({}, {
|
|
723
723
|
documentLoader: this.documentLoader,
|
|
724
|
-
contextLoader: this.contextLoader
|
|
724
|
+
contextLoader: this.contextLoader,
|
|
725
|
+
verifyPortableObject: Reflect.get(activity, "_verifyPortableObject")
|
|
725
726
|
}) : activity;
|
|
726
727
|
if (receivedActivity !== activity) Reflect.set(receivedActivity, "_cachedJsonLd", Reflect.get(activity, "_cachedJsonLd"));
|
|
727
728
|
for (const listener of listeners) await listener(createInboxContext({
|
package/dist/mod.js
CHANGED
|
@@ -720,7 +720,8 @@ var MockFederation = class {
|
|
|
720
720
|
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.");
|
|
721
721
|
const receivedActivity = listeners.length > 0 && this.documentLoader != null ? activity.clone({}, {
|
|
722
722
|
documentLoader: this.documentLoader,
|
|
723
|
-
contextLoader: this.contextLoader
|
|
723
|
+
contextLoader: this.contextLoader,
|
|
724
|
+
verifyPortableObject: Reflect.get(activity, "_verifyPortableObject")
|
|
724
725
|
}) : activity;
|
|
725
726
|
if (receivedActivity !== activity) Reflect.set(receivedActivity, "_cachedJsonLd", Reflect.get(activity, "_cachedJsonLd"));
|
|
726
727
|
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.4.
|
|
3
|
+
"version": "2.4.6-dev.2837+bb303087",
|
|
4
4
|
"description": "Testing utilities for Fedify applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -47,16 +47,17 @@
|
|
|
47
47
|
"package.json"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@fedify/fedify": "^2.4.
|
|
50
|
+
"@fedify/fedify": "^2.4.6-dev.2837+bb303087"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@opentelemetry/api": "~1.9.1",
|
|
54
54
|
"es-toolkit": "1.46.1",
|
|
55
55
|
"temporal-polyfill": "^1.0.1",
|
|
56
|
-
"@fedify/vocab
|
|
57
|
-
"@fedify/vocab": "2.4.
|
|
56
|
+
"@fedify/vocab": "2.4.6-dev.2837+bb303087",
|
|
57
|
+
"@fedify/vocab-runtime": "^2.4.6-dev.2837+bb303087"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
+
"@logtape/logtape": "^2.2.0",
|
|
60
61
|
"@standard-schema/spec": "^1.1.0",
|
|
61
62
|
"@std/assert": "npm:@jsr/std__assert@^1.0.13",
|
|
62
63
|
"@std/async": "npm:@jsr/std__async@^1.0.13",
|