Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@discord/embedded-app-sdk

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discord/embedded-app-sdk - npm Package Compare versions

Comparing version 1.6.1 to 1.7.0

2

output/commands/authorize.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc