@raycast/api 1.78.0 → 1.78.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.78.0",
3
+ "version": "1.78.1",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "author": "Raycast Technologies Ltd.",
6
6
  "homepage": "https://developers.raycast.com",
package/types/index.d.ts CHANGED
@@ -2466,7 +2466,6 @@ export declare interface Environment {
2466
2466
  * console.log(`Is development mode: ${environment.isDevelopment}`);
2467
2467
  * console.log(`Raycast appearance: ${environment.appearance}`);
2468
2468
  * console.log(`Raycast launchType: ${environment.launchType}`);
2469
- * console.log(`Raycast launchContext: ${environment.launchContext}`);
2470
2469
  * ```
2471
2470
  */
2472
2471
  export declare const environment: Environment;
@@ -5376,7 +5375,7 @@ declare type InterExtensionLaunchOptions = {
5376
5375
  type: LaunchType;
5377
5376
  /** Optional object for the argument properties and values as defined in the extension's manifest, for example: `{ "argument1": "value1" }` */
5378
5377
  arguments?: Arguments | null;
5379
- /** Arbitrary object for custom data that should be passed to the command and accessible as `environment.launchContext`; the object must be JSON serializable (Dates and Buffers supported) */
5378
+ /** Arbitrary object for custom data that should be passed to the command and accessible as {@link LaunchProps}; the object must be JSON serializable (Dates and Buffers supported) */
5380
5379
  context?: LaunchContext | null;
5381
5380
  /** Optional string to send as fallback text to the command */
5382
5381
  fallbackText?: string | null;
@@ -5392,7 +5391,7 @@ declare type IntraExtensionLaunchOptions = {
5392
5391
  type: LaunchType;
5393
5392
  /** Optional object for the argument properties and values as defined in the extension's manifest, for example: `{ "argument1": "value1" }` */
5394
5393
  arguments?: Arguments | null;
5395
- /** Arbitrary object for custom data that should be passed to the command and accessible as `environment.launchContext`; the object must be JSON serializable (Dates and Buffers supported) */
5394
+ /** Arbitrary object for custom data that should be passed to the command and accessible as {@link LaunchProps}; the object must be JSON serializable (Dates and Buffers supported) */
5396
5395
  context?: LaunchContext | null;
5397
5396
  /** Optional string to send as fallback text to the command */
5398
5397
  fallbackText?: string | null;