@kalamba/sdk 0.26.0 → 0.30.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/plugins.d.ts CHANGED
@@ -104,10 +104,9 @@ declare type ContractPlayPayload = {
104
104
  };
105
105
 
106
106
  export declare class DebuggingPlugin extends CasinoPlugin {
107
+ #private;
107
108
  constructor(...args: ConstructorParameters<typeof CasinoPlugin>);
108
- registerDebugToSdkEvents(): void;
109
109
  registerSdkToDebugEvents(): void;
110
- _send(...args: Parameters<typeof DebuggingPlugin.prototype.send>): ReturnType<typeof DebuggingPlugin.prototype.send>;
111
110
  }
112
111
 
113
112
  declare type Decoder = (data: any) => unknown;
@@ -576,7 +575,6 @@ declare function parsePlayResponse(playResponse: ResultGameEvent['body'], dataDe
576
575
  declare type PlayRequest = {
577
576
  contract: ContractPlayPayload;
578
577
  extra?: unknown;
579
- actionType: string;
580
578
  };
581
579
 
582
580
  declare type PlayRequestEnhanced = PlayRequest & {
@@ -771,7 +769,6 @@ declare interface SdkConfig {
771
769
  user: string;
772
770
  sessionId: string;
773
771
  backendSessionId?: string;
774
- lastRoundId?: string;
775
772
  };
776
773
  ui: {
777
774
  autoplay: {
@@ -892,7 +889,6 @@ declare type SdkOnlyMessagePayloadMap = {
892
889
 
893
890
  declare type Settings = {
894
891
  fastPlay?: boolean;
895
- fastPlaySpeed?: number;
896
892
  sounds?: boolean;
897
893
  music?: boolean;
898
894
  };
@@ -917,7 +913,7 @@ export declare abstract class TelemetryPlugin {
917
913
  }
918
914
 
919
915
  declare type ToCasinoPluginsForwardedMessageMap = {
920
- sdk: Pick<SdkOnlyMessagePayloadMap, 'autoplay' | 'balance' | 'bet' | 'cashier' | 'choice' | 'close' | 'error' | 'history' | 'loadEnd' | 'loadProgress' | 'loadStart' | 'openGame' | 'play' | 'playCycleEnd' | 'playCycleStart' | 'playEnd' | 'playReady' | 'playStart' | 'settings'>;
916
+ sdk: Pick<SdkOnlyMessagePayloadMap, 'autoplay' | 'balance' | 'bet' | 'cashier' | 'choice' | 'close' | 'configure' | 'error' | 'history' | 'loadEnd' | 'loadProgress' | 'loadStart' | 'openGame' | 'play' | 'playCycleEnd' | 'playCycleStart' | 'playEnd' | 'playReady' | 'playStart' | 'settings' | 'fullscreen'>;
921
917
  casino: undefined;
922
918
  rgs: Pick<RgsOnlyMessagePayloadMap, 'playResponse' | 'playError' | 'openGameResponse'>;
923
919
  telemetry: undefined;