@devvit/public-api 0.11.6-next-2025-01-10-72ac3e3f7.0 → 0.11.6-next-2025-01-13-2696f78b0.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.
@@ -11,7 +11,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
11
11
  };
12
12
  var _WebViewHook_hookId, _WebViewHook_url, _WebViewHook_onMessage, _WebViewHook_onUnmount, _WebViewHook_renderContext;
13
13
  import { EffectType } from '@devvit/protos';
14
- import { WebViewVisibility } from '@devvit/protos/types/devvit/ui/events/v1alpha/web_view.js';
14
+ import { WebViewVisibility } from '@devvit/protos';
15
15
  import { registerHook } from './BlocksHandler.js';
16
16
  class WebViewHook {
17
17
  constructor(params, options) {
package/meta.json CHANGED
@@ -9273,7 +9273,7 @@
9273
9273
  "format": "esm"
9274
9274
  },
9275
9275
  "../protos/dist/index.js": {
9276
- "bytes": 6307,
9276
+ "bytes": 6389,
9277
9277
  "imports": [
9278
9278
  {
9279
9279
  "path": "../protos/dist/lib/Defunct-Types.js",
@@ -9510,6 +9510,11 @@
9510
9510
  "kind": "import-statement",
9511
9511
  "original": "./types/devvit/ui/events/v1alpha/handle_ui.js"
9512
9512
  },
9513
+ {
9514
+ "path": "../protos/dist/types/devvit/ui/events/v1alpha/web_view.js",
9515
+ "kind": "import-statement",
9516
+ "original": "./types/devvit/ui/events/v1alpha/web_view.js"
9517
+ },
9513
9518
  {
9514
9519
  "path": "../protos/dist/types/devvit/ui/form_builder/v1alpha/field.js",
9515
9520
  "kind": "import-statement",
@@ -11884,7 +11889,7 @@
11884
11889
  "format": "esm"
11885
11890
  },
11886
11891
  "src/devvit/internals/blocks/handler/useWebView.ts": {
11887
- "bytes": 3604,
11892
+ "bytes": 3561,
11888
11893
  "imports": [
11889
11894
  {
11890
11895
  "path": "../protos/dist/index.js",
@@ -11892,9 +11897,9 @@
11892
11897
  "original": "@devvit/protos"
11893
11898
  },
11894
11899
  {
11895
- "path": "../protos/dist/types/devvit/ui/events/v1alpha/web_view.js",
11900
+ "path": "../protos/dist/index.js",
11896
11901
  "kind": "import-statement",
11897
- "original": "@devvit/protos/types/devvit/ui/events/v1alpha/web_view.js"
11902
+ "original": "@devvit/protos"
11898
11903
  },
11899
11904
  {
11900
11905
  "path": "src/devvit/internals/blocks/handler/BlocksHandler.ts",
@@ -12983,7 +12988,7 @@
12983
12988
  "bytesInOutput": 2975
12984
12989
  }
12985
12990
  },
12986
- "bytes": 12734213
12991
+ "bytes": 12734157
12987
12992
  }
12988
12993
  }
12989
12994
  }
package/meta.min.json CHANGED
@@ -4744,7 +4744,7 @@
4744
4744
  "format": "esm"
4745
4745
  },
4746
4746
  "src/devvit/internals/blocks/handler/useWebView.ts": {
4747
- "bytes": 3604,
4747
+ "bytes": 3561,
4748
4748
  "imports": [
4749
4749
  {
4750
4750
  "path": "@devvit/protos",
@@ -4752,7 +4752,7 @@
4752
4752
  "external": true
4753
4753
  },
4754
4754
  {
4755
- "path": "@devvit/protos/types/devvit/ui/events/v1alpha/web_view.js",
4755
+ "path": "@devvit/protos",
4756
4756
  "kind": "import-statement",
4757
4757
  "external": true
4758
4758
  },
@@ -4851,7 +4851,7 @@
4851
4851
  "imports": [],
4852
4852
  "exports": [],
4853
4853
  "inputs": {},
4854
- "bytes": 1251764
4854
+ "bytes": 1251721
4855
4855
  },
4856
4856
  "dist/public-api.min.js": {
4857
4857
  "imports": [
@@ -5006,7 +5006,7 @@
5006
5006
  "external": true
5007
5007
  },
5008
5008
  {
5009
- "path": "@devvit/protos/types/devvit/ui/events/v1alpha/web_view.js",
5009
+ "path": "@devvit/protos",
5010
5010
  "kind": "import-statement",
5011
5011
  "external": true
5012
5012
  }
@@ -5712,10 +5712,10 @@
5712
5712
  "bytesInOutput": 178
5713
5713
  },
5714
5714
  "src/devvit/internals/blocks/handler/useWebView.ts": {
5715
- "bytesInOutput": 1310
5715
+ "bytesInOutput": 1267
5716
5716
  }
5717
5717
  },
5718
- "bytes": 266967
5718
+ "bytes": 266924
5719
5719
  }
5720
5720
  }
5721
5721
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.6-next-2025-01-10-72ac3e3f7.0",
3
+ "version": "0.11.6-next-2025-01-13-2696f78b0.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.6-next-2025-01-10-72ac3e3f7.0",
34
- "@devvit/shared-types": "0.11.6-next-2025-01-10-72ac3e3f7.0",
33
+ "@devvit/protos": "0.11.6-next-2025-01-13-2696f78b0.0",
34
+ "@devvit/shared-types": "0.11.6-next-2025-01-13-2696f78b0.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.6-next-2025-01-10-72ac3e3f7.0",
43
- "@devvit/tsconfig": "0.11.6-next-2025-01-10-72ac3e3f7.0",
42
+ "@devvit/repo-tools": "0.11.6-next-2025-01-13-2696f78b0.0",
43
+ "@devvit/tsconfig": "0.11.6-next-2025-01-13-2696f78b0.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": "5cfda600ccfc98cf7ea0a74846ffbfe9a5009cc4"
66
+ "gitHead": "8ab79a5963b186b625bf537a16ad693ccd9241e5"
67
67
  }
package/public-api.d.ts CHANGED
@@ -42,7 +42,7 @@ import { SubredditRating as SubredditRating_2 } from '../../../reddit/v2alpha/su
42
42
  import { SubredditType as SubredditType_3 } from '../../../reddit/v2alpha/subredditv2.js';
43
43
  import { ToastAppearance as ToastAppearance_2 } from '../../../ui/toast/toast.js';
44
44
  import { UIEventScope as UIEventScope_2 } from '../../../../../index.js';
45
- import { WebViewVisibility as WebViewVisibility_2 } from '../../../ui/events/v1alpha/web_view.js';
45
+ import { WebViewVisibility as WebViewVisibility_2 } from '../../../../../index.js';
46
46
 
47
47
  declare interface AboutLocationRequest {
48
48
  /** thing id (e.g t1_15bfi0) */
@@ -36083,6 +36083,7 @@ declare namespace protos {
36083
36083
  HandleUIEventRequest,
36084
36084
  HandleUIEventResponse,
36085
36085
  UIEventHandlerDefinition,
36086
+ WebViewVisibility,
36086
36087
  FormField_2 as FormField,
36087
36088
  Form_2 as Form,
36088
36089
  FormFieldType,