@fedify/testing 1.8.1-dev.1213 → 1.8.1-dev.1227
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/deno.json +1 -1
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +2 -2
- package/mock.ts +2 -2
- package/package.json +2 -2
package/deno.json
CHANGED
package/dist/mod.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ interface SentActivity {
|
|
|
51
51
|
* await federation.receiveActivity(createActivity);
|
|
52
52
|
* ```
|
|
53
53
|
*
|
|
54
|
-
* @
|
|
54
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
55
55
|
* @since 1.8.0
|
|
56
56
|
*/
|
|
57
57
|
declare class MockFederation<TContextData> implements Federation<TContextData> {
|
|
@@ -162,7 +162,7 @@ declare class MockFederation<TContextData> implements Federation<TContextData> {
|
|
|
162
162
|
* console.log(sent[0].activity);
|
|
163
163
|
* ```
|
|
164
164
|
*
|
|
165
|
-
* @
|
|
165
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
166
166
|
* @since 1.8.0
|
|
167
167
|
*/
|
|
168
168
|
declare class MockContext<TContextData> implements Context<TContextData> {
|
package/dist/mod.js
CHANGED
|
@@ -151,7 +151,7 @@ function expandUriTemplate(template, values) {
|
|
|
151
151
|
* await federation.receiveActivity(createActivity);
|
|
152
152
|
* ```
|
|
153
153
|
*
|
|
154
|
-
* @
|
|
154
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
155
155
|
* @since 1.8.0
|
|
156
156
|
*/
|
|
157
157
|
var MockFederation = class {
|
|
@@ -416,7 +416,7 @@ var MockFederation = class {
|
|
|
416
416
|
* console.log(sent[0].activity);
|
|
417
417
|
* ```
|
|
418
418
|
*
|
|
419
|
-
* @
|
|
419
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
420
420
|
* @since 1.8.0
|
|
421
421
|
*/
|
|
422
422
|
var MockContext = class MockContext {
|
package/mock.ts
CHANGED
|
@@ -99,7 +99,7 @@ export interface SentActivity {
|
|
|
99
99
|
* await federation.receiveActivity(createActivity);
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
102
|
-
* @
|
|
102
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
103
103
|
* @since 1.8.0
|
|
104
104
|
*/
|
|
105
105
|
export class MockFederation<TContextData> implements Federation<TContextData> {
|
|
@@ -616,7 +616,7 @@ interface InboxListener<TContextData, TActivity extends Activity> {
|
|
|
616
616
|
* console.log(sent[0].activity);
|
|
617
617
|
* ```
|
|
618
618
|
*
|
|
619
|
-
* @
|
|
619
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
|
620
620
|
* @since 1.8.0
|
|
621
621
|
*/
|
|
622
622
|
export class MockContext<TContextData> implements Context<TContextData> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/testing",
|
|
3
|
-
"version": "1.8.1-dev.
|
|
3
|
+
"version": "1.8.1-dev.1227+96ed1a20",
|
|
4
4
|
"description": "Testing utilities for Fedify applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fedify",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@fedify/fedify": "1.8.1-dev.
|
|
44
|
+
"@fedify/fedify": "1.8.1-dev.1227+96ed1a20"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@js-temporal/polyfill": "^0.5.1",
|