New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
2
Versions
338
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.181 to 0.0.182

3

dataconnector/actions/action.d.ts

@@ -106,4 +106,5 @@ import { DataUpdateFilterType } from '../../data/dataupdatefiltertype';

/** changes applied by Lucid */ patches: Patch[];
client: DataSourceClient;
constructor(context: DataConnectorActionContext,
/** changes applied by Lucid */ patches: Patch[], name?: string);
/** changes applied by Lucid */ patches: Patch[], client: DataSourceClient, name?: string);
}

@@ -110,0 +111,0 @@ /**

@@ -98,5 +98,6 @@ "use strict";

constructor(context,
/** changes applied by Lucid */ patches, name = dataconnectoractionkeys_1.DataConnectorActionKeys.Patch) {
/** changes applied by Lucid */ patches, client, name = dataconnectoractionkeys_1.DataConnectorActionKeys.Patch) {
super(name, context);
this.patches = patches;
this.client = client;
}

@@ -103,0 +104,0 @@ }

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

'packageVersion': checks_1.isString,
'userCredential': checks_1.isString,
'patches': (0, validators_1.arrayValidator)((0, validators_1.objectValidator)({

@@ -37,2 +36,4 @@ 'patch': (0, validators_1.objectValidator)({

})),
'userCredential': checks_1.isString,
'documentUpdateToken': checks_1.isString,
});

@@ -66,3 +67,3 @@ const parseSerializedPatches = (patches) => {

const patches = parseSerializedPatches(item['patches']);
return new action_1.DataConnectorPatchAction(context, patches);
return new action_1.DataConnectorPatchAction(context, patches, client.getDataSourceClient(item['documentUpdateToken']));
});

@@ -79,3 +80,3 @@ }

return [
new action_1.DataConnectorPatchAction(context, parseSerializedPatches(data['patches']), dataconnectoractionkeys_1.DataConnectorActionKeys.UnbatchedPatch),
new action_1.DataConnectorPatchAction(context, parseSerializedPatches(data['patches']), client.getDataSourceClient(data['documentUpdateToken']), dataconnectoractionkeys_1.DataConnectorActionKeys.UnbatchedPatch),
];

@@ -82,0 +83,0 @@ }

{
"name": "lucid-extension-sdk",
"version": "0.0.181",
"version": "0.0.182",
"description": "Utility classes for writing Lucid Software editor extensions",

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

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