Socket
Socket
Sign inDemoInstall

@openscreen/app-bridge

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

dist/cjs/app-bridge/appBridge.d.ts

23

dist/index.d.ts

@@ -1,1 +0,22 @@

export * from './src/app-bridge';
interface AuthResponse {
sessionToken: string;
}
interface AuthTokenPayload {
accountId: string;
principalId: string;
expires: number;
appAccountId: string;
projectId: string;
iat: number;
exp: number;
iss: string;
}
interface AppBridge {
getSessionToken: (env?: Env) => Promise<AuthResponse>;
getIsEmbeddedInOpenscreen: (env?: Env) => Promise<boolean>;
}
declare type Env = 'dev' | 'stage' | 'prod' | 'local' | undefined;
declare const appBridge: AppBridge;
export { AppBridge, AuthResponse, AuthTokenPayload, Env, appBridge };
{
"name": "@openscreen/app-bridge",
"version": "0.1.0",
"version": "0.1.1",
"description": "",
"license": "ISC",
"author": "Openscreen Inc.",
"main": "./dist/index.js",
"type": "module",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.cjs"
}
},
"main": "./dist/cjs/index.cjs",
"module": "./dist/mjs/index.js",
"types": "./dist/index.d.ts",

@@ -13,5 +21,9 @@ "scripts": {

"devDependencies": {
"@rollup/plugin-terser": "0.4.0",
"eslint": "7.26.0",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.3",
"rollup-plugin-typescript2": "0.34.1",
"typescript": "4.3.2"
}
}

35

tsconfig.json
{
"$schema": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"target": "esnext",
"module": "esnext",
"outDir": "./dist",
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"baseUrl": "src",
"declaration": true,
"esModuleInterop": true,
"module": "esnext",
"inlineSourceMap": false,
"lib": ["dom", "dom.iterable", "esnext"],
"jsx": "preserve",
"listEmittedFiles": false,
"listFiles": false,
"moduleResolution": "node",
"baseUrl": "src/",
"noFallthroughCasesInSwitch": true,
"pretty": true,
"resolveJsonModule": true,
"declaration": true,
"outDir": "dist/",
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"rootDir": "src",
"skipLibCheck": true,
"strict": true,
"traceResolution": false,
"forceConsistentCasingInFileNames": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist"],
"include": ["src"]
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc