@k-msg/core 0.11.0 → 0.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-msg/core",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "packageManager": "bun@1.3.8",
5
5
  "description": "Core types and interfaces for K-Message platform",
6
6
  "type": "module",
@@ -1,17 +0,0 @@
1
- import { KMsgError, KMsgErrorCode, type MessageType, type Provider, type Result, type SendOptions, type SendResult } from "./index";
2
- export declare class MockProvider implements Provider {
3
- readonly id: string;
4
- readonly name: string;
5
- readonly supportedTypes: readonly MessageType[];
6
- constructor(id?: string, name?: string);
7
- healthCheck(): Promise<{
8
- healthy: boolean;
9
- issues: never[];
10
- }>;
11
- send(params: SendOptions): Promise<Result<SendResult, KMsgError>>;
12
- }
13
- export declare const TestAssertions: {
14
- assertKMsgError: (error: any, expectedCode: KMsgErrorCode) => void;
15
- assertSuccess: <T, E>(result: Result<T, E>) => T;
16
- assertFailure: <T, E>(result: Result<T, E>) => E;
17
- };