@playruo/embed 1.2.10 → 1.3.1

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/index.d.cts CHANGED
@@ -36,7 +36,8 @@ interface PlayruoEmbedRenderState {
36
36
  interface PlayruoEmbedProps {
37
37
  /** Game origin (scheme + host). Omit to use production (`https://playruo.live`). */
38
38
  baseUrl?: string;
39
- operation?: string;
39
+ /** Game operation slug used to build the iframe URL. */
40
+ operation: string;
40
41
  storeUrl?: string;
41
42
  showIframe?: boolean;
42
43
  className?: string;
@@ -124,7 +125,7 @@ declare const isPlayruoEmbedMessage: (data: unknown) => data is PlayruoEmbedMess
124
125
  declare const isPlayruoInternalMessage: (data: unknown) => data is PlayruoInternalMessage;
125
126
 
126
127
  interface BuildUrlParams {
127
- operation?: string;
128
+ operation: string;
128
129
  storeUrl?: string;
129
130
  }
130
131
  /**
package/dist/index.d.ts CHANGED
@@ -36,7 +36,8 @@ interface PlayruoEmbedRenderState {
36
36
  interface PlayruoEmbedProps {
37
37
  /** Game origin (scheme + host). Omit to use production (`https://playruo.live`). */
38
38
  baseUrl?: string;
39
- operation?: string;
39
+ /** Game operation slug used to build the iframe URL. */
40
+ operation: string;
40
41
  storeUrl?: string;
41
42
  showIframe?: boolean;
42
43
  className?: string;
@@ -124,7 +125,7 @@ declare const isPlayruoEmbedMessage: (data: unknown) => data is PlayruoEmbedMess
124
125
  declare const isPlayruoInternalMessage: (data: unknown) => data is PlayruoInternalMessage;
125
126
 
126
127
  interface BuildUrlParams {
127
- operation?: string;
128
+ operation: string;
128
129
  storeUrl?: string;
129
130
  }
130
131
  /**