@devvit/client 0.11.18-next-2025-06-27-18-46-23-2ea00e698.0 → 0.11.18-next-2025-06-30-21-42-07-dd2300c6a.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,5 +1,5 @@
1
1
  export { emitEffect } from './emit-effect.js';
2
2
  export { navigateTo } from './navigate-to.js';
3
3
  export { showForm } from './show-form.js';
4
- export { showToast, type Toast } from './show-toast.js';
4
+ export { showToast } from './show-toast.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,9 +1,4 @@
1
- export type Toast = {
2
- /** The message shown within the toast */
3
- text: string;
4
- /** The appearance of the toast */
5
- appearance?: 'neutral' | 'success';
6
- };
1
+ import type { Toast } from '@devvit/shared';
7
2
  /**
8
3
  * Shows a toast message.
9
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"show-toast.d.ts","sourceRoot":"","sources":["../../src/effects/show-toast.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,KAAK,GAAG;IAClB,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;AAC9C,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"show-toast.d.ts","sourceRoot":"","sources":["../../src/effects/show-toast.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;AAC9C,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC"}
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { context } from './context.js';
2
2
  export { emitEffect, navigateTo, showForm, showToast } from './effects/index.js';
3
- export { type Toast } from './effects/show-toast.js';
4
3
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
package/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export { context } from './context.js';
2
2
  export { emitEffect, navigateTo, showForm, showToast } from './effects/index.js';
3
- export {} from './effects/show-toast.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/client",
3
- "version": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
3
+ "version": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,15 +25,16 @@
25
25
  },
26
26
  "types": "./index.d.ts",
27
27
  "dependencies": {
28
- "@devvit/protos": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
29
- "@devvit/reddit": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
30
- "@devvit/shared-types": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
31
- "@devvit/web-view-scripts": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0"
28
+ "@devvit/protos": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
29
+ "@devvit/reddit": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
30
+ "@devvit/shared": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
31
+ "@devvit/shared-types": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
32
+ "@devvit/web-view-scripts": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@ampproject/filesize": "4.3.0",
35
- "@devvit/repo-tools": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
36
- "@devvit/tsconfig": "0.11.18-next-2025-06-27-18-46-23-2ea00e698.0",
36
+ "@devvit/repo-tools": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
37
+ "@devvit/tsconfig": "0.11.18-next-2025-06-30-21-42-07-dd2300c6a.0",
37
38
  "esbuild": "0.23.0",
38
39
  "eslint": "9.11.1",
39
40
  "typescript": "5.8.3",
@@ -49,5 +50,5 @@
49
50
  }
50
51
  },
51
52
  "source": "./src/index.ts",
52
- "gitHead": "64db0811a31e55c95c7ed8132ca52b6962dd19ff"
53
+ "gitHead": "146ec2d44e1fcd91f5ea21c0d5209dc761f87e8e"
53
54
  }