@crvouga/mockingbird-service-easypost 1.0.2 → 1.1.0

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/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-NPUUEP5A.js";
7
- import "./chunk-7LWZJQN5.js";
6
+ } from "./chunk-TME3K2AK.js";
7
+ import "./chunk-YK7NXAKZ.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
package/dist/index.d.ts CHANGED
@@ -542,7 +542,7 @@ type WebhookHub = {
542
542
  messages(namespace?: string): WebhookMessage[];
543
543
  deliveries(namespace?: string): WebhookDelivery[];
544
544
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
545
- /** Run every pending retry (and release held reordered messages) now. */
545
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
546
546
  flush(): Promise<void>;
547
547
  /** Resolve once nothing is in flight. */
548
548
  idle(): Promise<void>;
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  isTrackerStatus,
13
13
  operationIds,
14
14
  supportedOperationIds
15
- } from "./chunk-7LWZJQN5.js";
15
+ } from "./chunk-YK7NXAKZ.js";
16
16
  export {
17
17
  EASYPOST_NAMESPACE,
18
18
  EASYPOST_PRESETS,
package/dist/server.d.ts CHANGED
@@ -459,7 +459,7 @@ type WebhookHub$1 = {
459
459
  messages(namespace?: string): WebhookMessage$1[];
460
460
  deliveries(namespace?: string): WebhookDelivery$1[];
461
461
  replay(deliveryId: string): Promise<WebhookDelivery$1 | undefined>;
462
- /** Run every pending retry (and release held reordered messages) now. */
462
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
463
463
  flush(): Promise<void>;
464
464
  /** Resolve once nothing is in flight. */
465
465
  idle(): Promise<void>;
@@ -1070,7 +1070,7 @@ type WebhookHub = {
1070
1070
  messages(namespace?: string): WebhookMessage[];
1071
1071
  deliveries(namespace?: string): WebhookDelivery[];
1072
1072
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
1073
- /** Run every pending retry (and release held reordered messages) now. */
1073
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
1074
1074
  flush(): Promise<void>;
1075
1075
  /** Resolve once nothing is in flight. */
1076
1076
  idle(): Promise<void>;
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-NPUUEP5A.js";
6
- import "./chunk-7LWZJQN5.js";
5
+ } from "./chunk-TME3K2AK.js";
6
+ import "./chunk-YK7NXAKZ.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-easypost",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Stateful mock of the EasyPost trackers API: create/re-use trackers, EasyPost's test tracking codes, admin status transitions and EasyPost's error envelope.",
5
5
  "license": "MIT",
6
6
  "type": "module",