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

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
2
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lucid-extension-sdk - npm Package Compare versions

Comparing version 0.0.54 to 0.0.55

2

package.json
{
"name": "lucid-extension-sdk",
"version": "0.0.54",
"version": "0.0.55",
"description": "Utility classes for writing Lucid Software editor extensions",

@@ -5,0 +5,0 @@ "main": "sdk/index.js",

@@ -93,2 +93,3 @@ import { SerializedFieldTypeDefinition } from './core/data/fieldtypedefinition/fieldtypedefinition';

StartDragBlockToCanvas = "sdc",
StartPDFUploadRequest = "pdf",
ThrowForTestCase = "throw",

@@ -399,2 +400,6 @@ UnhookCreateItems = "uci",

};
[CommandName.StartPDFUploadRequest]: {
query: StartPDFUploadRequestQuery;
result: StartPDFUploadRequestResponse;
};
[CommandName.ThrowForTestCase]: {

@@ -998,2 +1003,9 @@ query: ThrowForTestCaseQuery;

export declare type StartDragBlockToCanvasResult = Promise<string | undefined>;
export declare type StartPDFUploadRequestQuery = string;
/**
* @ignore
* A signed URL you can upload the pdf to. You can do this manually (via the client, your own service) or via the
* oauth proxy.
*/
export declare type StartPDFUploadRequestResponse = Promise<string>;
export declare type ThrowForTestCaseQuery = number;

@@ -1000,0 +1012,0 @@ export declare type ThrowForTestCaseResult = undefined | Promise<void>;

@@ -77,2 +77,3 @@ "use strict";

["sdc" /* CommandName.StartDragBlockToCanvas */, 'StartDragBlockToCanvas'],
["pdf" /* CommandName.StartPDFUploadRequest */, 'StartPDFUploadRequest'],
["throw" /* CommandName.ThrowForTestCase */, 'ThrowForTestCase'],

@@ -79,0 +80,0 @@ ["uci" /* CommandName.UnhookCreateItems */, 'UnhookCreateItems'],

@@ -0,1 +1,2 @@

import { StartPDFUploadRequestResponse } from '../../commandtypes';
import { UnfurlIframe } from '../../core/unfurl/unfurliframe';

@@ -53,3 +54,3 @@ import { BlockProxy } from '../blockproxy';

*/
experimentalStartPDFUpload(options: LinkUnfurlPDFOptions): Promise<LinkUnfurlPDFResult>;
experimentalStartPDFUpload(options: LinkUnfurlPDFOptions): Promise<StartPDFUploadRequestResponse>;
}

@@ -68,19 +69,1 @@ /**

}
/**
* @ignore
* The result of initiating the PDF upload process.
*/
export interface LinkUnfurlPDFResult {
/**
* @ignore
* A signed URL you can upload the pdf to. You can do this manually (via the client, your own service) or via the
* oauth proxy.
*/
uploadUrl: string;
/**
* @ignore
* The internal identifier to the PDF upload which is associated with the block.
* TODO: Determine if we show this to the extension, or keep internal
*/
blobId: string;
}

@@ -76,4 +76,5 @@ "use strict";

*/
experimentalStartPDFUpload(options) {
throw new Error('Not yet implemented');
async experimentalStartPDFUpload(options) {
const result = await this.client.sendCommand("pdf" /* CommandName.StartPDFUploadRequest */, this.id);
return result;
}

@@ -80,0 +81,0 @@ }

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