@devvit/public-api 0.11.9-next-2025-03-10-fff5e91a7.0 → 0.11.9-next-2025-03-10-779f2a3d2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"useState.d.ts","sourceRoot":"","sources":["../../../../../src/devvit/internals/blocks/handler/useState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,KAAK,EAEV,mBAAmB,EACnB,cAAc,EACf,MAAM,4BAA4B,CAAC;AA8GpC,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAC9F,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAC5F,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAC5F,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,EAC1C,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAAC,GACnC,cAAc,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"useState.d.ts","sourceRoot":"","sources":["../../../../../src/devvit/internals/blocks/handler/useState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,KAAK,EAEV,mBAAmB,EACnB,cAAc,EACf,MAAM,4BAA4B,CAAC;AAkHpC,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAC9F,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAC5F,wBAAgB,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAC5F,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,EAC1C,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAAC,GACnC,cAAc,CAAC,CAAC,CAAC,CAAC"}
@@ -56,7 +56,7 @@ class UseStateHook {
56
56
  * This would probably be some sort of concurrent access bug. It's not clear what would put us
57
57
  * in this state, but it's worth logging so we can investigate.
58
58
  */
59
- console.warn('Invalid state: ', this.state.load_state, this._promise);
59
+ console.warn(`Invalid state for hook (${__classPrivateFieldGet(this, _UseStateHook_hookId, "f")}):`, this.state.load_state, this._promise);
60
60
  }
61
61
  }
62
62
  setter(action) {
package/meta.json CHANGED
@@ -8552,7 +8552,7 @@
8552
8552
  "format": "esm"
8553
8553
  },
8554
8554
  "src/devvit/internals/blocks/handler/useState.ts": {
8555
- "bytes": 4777,
8555
+ "bytes": 4835,
8556
8556
  "imports": [
8557
8557
  {
8558
8558
  "path": "../protos/dist/index.js",
@@ -10237,7 +10237,7 @@
10237
10237
  "bytesInOutput": 4711
10238
10238
  },
10239
10239
  "src/devvit/internals/blocks/handler/useState.ts": {
10240
- "bytesInOutput": 3770
10240
+ "bytesInOutput": 3852
10241
10241
  },
10242
10242
  "src/devvit/internals/blocks/handler/ContextBuilder.ts": {
10243
10243
  "bytesInOutput": 1411
@@ -10336,7 +10336,7 @@
10336
10336
  "bytesInOutput": 2975
10337
10337
  }
10338
10338
  },
10339
- "bytes": 12454337
10339
+ "bytes": 12454551
10340
10340
  }
10341
10341
  }
10342
10342
  }
package/meta.min.json CHANGED
@@ -1392,7 +1392,7 @@
1392
1392
  "format": "esm"
1393
1393
  },
1394
1394
  "src/devvit/internals/blocks/handler/useState.ts": {
1395
- "bytes": 4777,
1395
+ "bytes": 4835,
1396
1396
  "imports": [
1397
1397
  {
1398
1398
  "path": "@devvit/protos",
@@ -2517,7 +2517,7 @@
2517
2517
  "imports": [],
2518
2518
  "exports": [],
2519
2519
  "inputs": {},
2520
- "bytes": 1058082
2520
+ "bytes": 1058166
2521
2521
  },
2522
2522
  "dist/public-api.min.js": {
2523
2523
  "imports": [
@@ -2971,7 +2971,7 @@
2971
2971
  "bytesInOutput": 2460
2972
2972
  },
2973
2973
  "src/devvit/internals/blocks/handler/useState.ts": {
2974
- "bytesInOutput": 1599
2974
+ "bytesInOutput": 1623
2975
2975
  },
2976
2976
  "src/devvit/internals/blocks/handler/types.ts": {
2977
2977
  "bytesInOutput": 29
@@ -3070,7 +3070,7 @@
3070
3070
  "bytesInOutput": 1267
3071
3071
  }
3072
3072
  },
3073
- "bytes": 218599
3073
+ "bytes": 218623
3074
3074
  }
3075
3075
  }
3076
3076
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.9-next-2025-03-10-fff5e91a7.0",
3
+ "version": "0.11.9-next-2025-03-10-779f2a3d2.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,16 +30,16 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.9-next-2025-03-10-fff5e91a7.0",
34
- "@devvit/shared-types": "0.11.9-next-2025-03-10-fff5e91a7.0",
33
+ "@devvit/protos": "0.11.9-next-2025-03-10-779f2a3d2.0",
34
+ "@devvit/shared-types": "0.11.9-next-2025-03-10-779f2a3d2.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "moderndash": "4.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@ampproject/filesize": "4.3.0",
41
- "@devvit/repo-tools": "0.11.9-next-2025-03-10-fff5e91a7.0",
42
- "@devvit/tsconfig": "0.11.9-next-2025-03-10-fff5e91a7.0",
41
+ "@devvit/repo-tools": "0.11.9-next-2025-03-10-779f2a3d2.0",
42
+ "@devvit/tsconfig": "0.11.9-next-2025-03-10-779f2a3d2.0",
43
43
  "@microsoft/api-extractor": "7.41.0",
44
44
  "@reddit/faceplate-ui": "18.0.1",
45
45
  "@types/clone-deep": "4.0.1",
@@ -60,5 +60,5 @@
60
60
  }
61
61
  },
62
62
  "source": "./src/index.ts",
63
- "gitHead": "92ccc99f052380a6c141cfa7d2528a0308094a73"
63
+ "gitHead": "d2943f6486f8579b8a09a97af457a51362aa5134"
64
64
  }