@discord/embedded-app-sdk
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,8 @@ import EventEmitter from 'eventemitter3'; | ||
import { IDiscordSDK, MaybeZodObjectArray, SdkConfiguration } from './interface'; | ||
export declare enum Opcodes { | ||
HANDSHAKE = 0, | ||
FRAME = 1, | ||
CLOSE = 2, | ||
HELLO = 3 | ||
} | ||
export declare class DiscordSDK implements IDiscordSDK { | ||
@@ -44,5 +50,3 @@ readonly clientId: string; | ||
}; | ||
}>; /** | ||
* The embedded application is running in an IFrame either within the main Discord client window or in a popout. The RPC server is always running in the main Discord client window. In either case, the referrer is the correct origin. | ||
*/ | ||
}>; | ||
authorize: (args: import("./commands/authorize").AuthorizeInput) => Promise<{ | ||
@@ -49,0 +53,0 @@ code: string; |
{ | ||
"name": "@discord/embedded-app-sdk", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "@discord/embedded-app-sdk enables you to build rich, multiplayer experiences inside Discord.", | ||
@@ -28,2 +28,3 @@ "author": "Discord", | ||
"test": "jest", | ||
"test:dev": "jest --watch", | ||
"test:all": "pnpm test -r", | ||
@@ -57,2 +58,4 @@ "dev": "pnpm build --watch", | ||
"@babel/eslint-parser": "^7.15.7", | ||
"@commitlint/cli": "^19.2.1", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@jest/types": "^27.2.5", | ||
@@ -59,0 +62,0 @@ "@rollup/plugin-commonjs": "25.0.2", |
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
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
1542032
29
41639