@persistica/flux-mesh 0.0.21 → 0.0.22

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": "@persistica/flux-mesh",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Persistica Flux Mesh",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -4,10 +4,10 @@ export declare const MAX_CHANNEL_MEMBERS_BY_SUBSCRIPTION_TYPE: {
4
4
  [key in TSubscription_S]: number;
5
5
  };
6
6
  export declare const MAX_CHANNEL_MEMBERS: number;
7
- export declare const normalizeSubscriptionType: (subscriptionType?: string) => TSubscription_S | undefined;
8
- export declare const resolveSubscriptionTypeOrDefault: (subscriptionType?: string) => TSubscription_S;
9
- export declare const readMaxChannelMembers: (subscriptionType?: string) => number;
10
- export declare const readSubscriptionTypeFromClaim: (claim?: string) => TSubscription_S | undefined;
7
+ export declare const normalizeSubscriptionType: (subscriptionType?: unknown) => TSubscription_S | undefined;
8
+ export declare const resolveSubscriptionTypeOrDefault: (subscriptionType?: unknown) => TSubscription_S;
9
+ export declare const readMaxChannelMembers: (subscriptionType?: unknown) => number;
10
+ export declare const readSubscriptionTypeFromClaim: (claim?: unknown) => TSubscription_S | undefined;
11
11
  export declare const canChannelHaveMoreMembers: (memberCount: number, subscriptionType?: TSubscription_S) => boolean;
12
12
  export declare class NetworkChannelManager {
13
13
  private readonly _globalChannelPubsub;