@membranehq/sdk 0.22.3 → 0.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +19 -0
- package/dist/bundle.js +3 -2
- package/dist/bundle.js.map +1 -1
- package/dist/dts/workspace-elements/base/connectors/auth.d.ts +26 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +38 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/index.browser.d.mts +65 -0
- package/dist/index.browser.d.ts +65 -0
- package/dist/index.browser.js +5 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +5 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +65 -0
- package/dist/index.node.d.ts +65 -0
- package/dist/index.node.js +5 -2
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +5 -2
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.mjs
CHANGED
|
@@ -4261,6 +4261,7 @@ const ConnectorAuthSpec = z.object({
|
|
|
4261
4261
|
.optional(),
|
|
4262
4262
|
});
|
|
4263
4263
|
const ConnectorAuthHandlerBase = ConnectorAuthSpec.extend({
|
|
4264
|
+
parametersSchema: DataSchema.optional(),
|
|
4264
4265
|
credentialsSchema: DataSchema.optional(),
|
|
4265
4266
|
customCredentialsSchema: DataSchema.optional(),
|
|
4266
4267
|
makeApiClient: ConnectorMethodImplementationBase.optional(),
|
|
@@ -11965,6 +11966,7 @@ const WorkspaceElementSpecs = {
|
|
|
11965
11966
|
namePlural: 'Apps',
|
|
11966
11967
|
hasKey: true,
|
|
11967
11968
|
hasPublicLayer: true,
|
|
11969
|
+
remoteRepositories: true,
|
|
11968
11970
|
relatedIntegrationLayerElements: [
|
|
11969
11971
|
WorkspaceElementType.Connection,
|
|
11970
11972
|
WorkspaceElementType.Action,
|
|
@@ -12094,6 +12096,7 @@ const WorkspaceElementSpecs = {
|
|
|
12094
12096
|
hasParentChildRelationship: true,
|
|
12095
12097
|
hasKey: true,
|
|
12096
12098
|
hasPublicLayer: true,
|
|
12099
|
+
remoteRepositories: true,
|
|
12097
12100
|
isAgentic: true,
|
|
12098
12101
|
agentName: AgentName.ACTION_BUILDING,
|
|
12099
12102
|
statsKey: 'actions',
|
|
@@ -14350,7 +14353,7 @@ async function openIframe(uri, callbacks = {}, { mountTargetSelector } = {}) {
|
|
|
14350
14353
|
const iframe = document.createElement('iframe');
|
|
14351
14354
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14352
14355
|
iframe.src = uri;
|
|
14353
|
-
iframe.setAttribute('allow', 'clipboard-write');
|
|
14356
|
+
iframe.setAttribute('allow', 'clipboard-write *');
|
|
14354
14357
|
document.body.classList.add(BODY_CLASS);
|
|
14355
14358
|
showIframeLoader();
|
|
14356
14359
|
appendToContainer(iframe);
|
|
@@ -14377,7 +14380,7 @@ async function openIframeWithPost(url, postData, callbacks = {}, { mountTargetSe
|
|
|
14377
14380
|
const iframe = document.createElement('iframe');
|
|
14378
14381
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14379
14382
|
iframe.name = iframeName;
|
|
14380
|
-
iframe.setAttribute('allow', 'clipboard-write');
|
|
14383
|
+
iframe.setAttribute('allow', 'clipboard-write *');
|
|
14381
14384
|
const form = document.createElement('form');
|
|
14382
14385
|
form.method = 'POST';
|
|
14383
14386
|
form.action = url;
|