@discord/embedded-app-sdk
Advanced tools
Comparing version 1.6.1 to 1.7.0
@@ -5,3 +5,3 @@ import { OAuthScopes, TSendCommand } from '../schema/types'; | ||
scope: OAuthScopes[]; | ||
response_type?: 'code' | 'token'; | ||
response_type?: 'code'; | ||
code_challenge?: string; | ||
@@ -8,0 +8,0 @@ state?: string; |
@@ -279,3 +279,5 @@ import { Commands } from '../schema/common'; | ||
}>; | ||
openExternalLink: (args: import("./openExternalLink").OpenExternalLinkInput) => Promise<{} | null>; | ||
openExternalLink: (args: import("./openExternalLink").OpenExternalLinkInput) => Promise<{ | ||
opened: boolean | null; | ||
}>; | ||
openInviteDialog: (args: void) => Promise<{} | null>; | ||
@@ -282,0 +284,0 @@ openShareMomentDialog: (args: { |
@@ -8,2 +8,4 @@ import { TSendCommand } from '../schema/types'; | ||
*/ | ||
export declare const openExternalLink: (sendCommand: TSendCommand) => (args: OpenExternalLinkInput) => Promise<{} | null>; | ||
export declare const openExternalLink: (sendCommand: TSendCommand) => (args: OpenExternalLinkInput) => Promise<{ | ||
opened: boolean | null; | ||
}>; |
@@ -82,2 +82,2 @@ export declare enum RPCCloseCodes { | ||
export declare const UNKNOWN_VERSION_NUMBER = -1; | ||
export declare const HANDSHAKE_SDK_VERSION_MINIUM_MOBILE_VERSION = 250; | ||
export declare const HANDSHAKE_SDK_VERSION_MINIMUM_MOBILE_VERSION = 250; |
@@ -18,2 +18,3 @@ import EventEmitter from 'eventemitter3'; | ||
readonly channelId: string | null; | ||
readonly locationId: string | null; | ||
readonly sdkVersion: string; | ||
@@ -304,3 +305,5 @@ readonly mobileAppVersion: string | null; | ||
}>; | ||
openExternalLink: (args: import("./commands/openExternalLink").OpenExternalLinkInput) => Promise<{} | null>; | ||
openExternalLink: (args: import("./commands/openExternalLink").OpenExternalLinkInput) => Promise<{ | ||
opened: boolean | null; | ||
}>; | ||
openInviteDialog: (args: void) => Promise<{} | null>; | ||
@@ -307,0 +310,0 @@ openShareMomentDialog: (args: { |
@@ -20,3 +20,4 @@ import * as zod from 'zod'; | ||
readonly channelId: string | null; | ||
constructor(clientId: string, guildId: string | null, channelId: string | null); | ||
readonly locationId: string | null; | ||
constructor(clientId: string, guildId: string | null, channelId: string | null, locationId: string | null); | ||
_updateCommandMocks(newCommands: Partial<IDiscordSDK['commands']>): { | ||
@@ -296,3 +297,5 @@ authenticate: (args: { | ||
}>; | ||
openExternalLink: (args: import("./commands/openExternalLink").OpenExternalLinkInput) => Promise<{} | null>; | ||
openExternalLink: (args: import("./commands/openExternalLink").OpenExternalLinkInput) => Promise<{ | ||
opened: boolean | null; | ||
}>; | ||
openInviteDialog: (args: void) => Promise<{} | null>; | ||
@@ -299,0 +302,0 @@ openShareMomentDialog: (args: { |
{ | ||
"name": "@discord/embedded-app-sdk", | ||
"version": "1.6.1", | ||
"version": "1.7.0", | ||
"description": "@discord/embedded-app-sdk enables you to build rich, multiplayer experiences inside Discord.", | ||
@@ -5,0 +5,0 @@ "author": "Discord", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1595459
42441