@devvit/public-api 0.11.4-next-2024-12-05-2eef59486.0 → 0.11.4-next-2024-12-05-a4d072de4.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/meta.json CHANGED
@@ -3098,7 +3098,7 @@
3098
3098
  "format": "esm"
3099
3099
  },
3100
3100
  "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js": {
3101
- "bytes": 2398,
3101
+ "bytes": 2878,
3102
3102
  "imports": [
3103
3103
  {
3104
3104
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -12066,7 +12066,7 @@
12066
12066
  "bytesInOutput": 2790
12067
12067
  },
12068
12068
  "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js": {
12069
- "bytesInOutput": 2205
12069
+ "bytesInOutput": 2617
12070
12070
  },
12071
12071
  "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/post_message.js": {
12072
12072
  "bytesInOutput": 6416
@@ -12531,7 +12531,7 @@
12531
12531
  "bytesInOutput": 370
12532
12532
  }
12533
12533
  },
12534
- "bytes": 12323867
12534
+ "bytes": 12325371
12535
12535
  }
12536
12536
  }
12537
12537
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.4-next-2024-12-05-2eef59486.0",
3
+ "version": "0.11.4-next-2024-12-05-a4d072de4.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.4-next-2024-12-05-2eef59486.0",
34
- "@devvit/shared-types": "0.11.4-next-2024-12-05-2eef59486.0",
33
+ "@devvit/protos": "0.11.4-next-2024-12-05-a4d072de4.0",
34
+ "@devvit/shared-types": "0.11.4-next-2024-12-05-a4d072de4.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ampproject/filesize": "4.3.0",
42
- "@devvit/repo-tools": "0.11.4-next-2024-12-05-2eef59486.0",
43
- "@devvit/tsconfig": "0.11.4-next-2024-12-05-2eef59486.0",
42
+ "@devvit/repo-tools": "0.11.4-next-2024-12-05-a4d072de4.0",
43
+ "@devvit/tsconfig": "0.11.4-next-2024-12-05-a4d072de4.0",
44
44
  "@microsoft/api-extractor": "7.41.0",
45
45
  "@reddit/faceplate-ui": "18.0.1",
46
46
  "@types/clone-deep": "4.0.1",
@@ -63,5 +63,5 @@
63
63
  }
64
64
  },
65
65
  "source": "./src/index.ts",
66
- "gitHead": "f3b9ddf9f1041369ae007fa10b9e7fc67fa987db"
66
+ "gitHead": "0db6b28cebcebddb663883fcdbed887d809dc8fa"
67
67
  }
package/public-api.d.ts CHANGED
@@ -5060,6 +5060,7 @@ declare const CustomPostDefinition: {
5060
5060
  fullscreen?: {
5061
5061
  show?: boolean;
5062
5062
  url?: string;
5063
+ id?: string;
5063
5064
  } | undefined;
5064
5065
  } | undefined;
5065
5066
  type?: EffectType_2;
@@ -5461,6 +5462,7 @@ declare const CustomPostDefinition: {
5461
5462
  fullscreen?: {
5462
5463
  show?: boolean;
5463
5464
  url?: string;
5465
+ id?: string;
5464
5466
  } | undefined;
5465
5467
  } | undefined;
5466
5468
  type?: EffectType_2;
@@ -6084,6 +6086,7 @@ declare const CustomPostDefinition: {
6084
6086
  fullscreen?: {
6085
6087
  show?: boolean;
6086
6088
  url?: string;
6089
+ id?: string;
6087
6090
  } | undefined;
6088
6091
  } | undefined;
6089
6092
  type?: EffectType_2;
@@ -6485,6 +6488,7 @@ declare const CustomPostDefinition: {
6485
6488
  fullscreen?: {
6486
6489
  show?: boolean;
6487
6490
  url?: string;
6491
+ id?: string;
6488
6492
  } | undefined;
6489
6493
  } | undefined;
6490
6494
  type?: EffectType_2;
@@ -52814,12 +52818,19 @@ declare const WebViewFullScreenEvent: {
52814
52818
  fromPartial(object: DeepPartial_74<WebViewFullScreenEvent>): WebViewFullScreenEvent;
52815
52819
  };
52816
52820
 
52817
- /** Sent to launch a full-screen WebView experience */
52821
+ /** Sent to launch a fullscreen WebView experience */
52818
52822
  declare interface WebViewFullScreenVisibilityEffect {
52819
52823
  /** True if app wants to show the WebView, false if the app wants to close an open WebView */
52820
52824
  show: boolean;
52821
52825
  /** URL to load in the fullscreen WebView */
52822
52826
  url: string;
52827
+ /**
52828
+ * ID to associate with the newly created WebView. Although only one can be visible at a time,
52829
+ * it's possible for an app to define multiple fullscreen WebViews to launch at various times.
52830
+ * In order to route messages back and forth between the correct WebView on the client and the
52831
+ * associated callbacks within the app we need a stable identifier.
52832
+ */
52833
+ id: string;
52823
52834
  }
52824
52835
 
52825
52836
  declare const WebViewFullScreenVisibilityEffect: {