@theia/plugin 1.24.0-next.15 → 1.24.0-next.16

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 +2 -2
  2. package/src/theia.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.24.0-next.15+6cdbd4bcb4f",
3
+ "version": "1.24.0-next.16+8157e03e683",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "6cdbd4bcb4ffe791c8ed530a6c9358e815ccd654"
35
+ "gitHead": "8157e03e68352c4f4e2adedfcda0b67a76b5119c"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -11388,7 +11388,7 @@ export module '@theia/plugin' {
11388
11388
  * @param options The [getSessionOptions](#GetSessionOptions) to use
11389
11389
  * @returns A thenable that resolves to an authentication session
11390
11390
  */
11391
- export function getSession(providerId: string, scopes: string[], options: AuthenticationGetSessionOptions & { createIfNone: true }): Thenable<AuthenticationSession>;
11391
+ export function getSession(providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { createIfNone: true }): Thenable<AuthenticationSession>;
11392
11392
 
11393
11393
  /**
11394
11394
  * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
@@ -11416,7 +11416,7 @@ export module '@theia/plugin' {
11416
11416
  * @param options The [getSessionOptions](#GetSessionOptions) to use
11417
11417
  * @returns A thenable that resolves to an authentication session if available, or undefined if there are no sessions
11418
11418
  */
11419
- export function getSession(providerId: string, scopes: string[], options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
11419
+ export function getSession(providerId: string, scopes: readonly string[], options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
11420
11420
 
11421
11421
  /**
11422
11422
  * An [event](#Event) which fires when the authentication sessions of an authentication provider have