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

@shapediver/sdk.platform-api-sdk-v1

Package Overview
Dependencies
Maintainers
5
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/sdk.platform-api-sdk-v1 - npm Package Compare versions

Comparing version 2.18.8 to 2.18.9

5

dist/resources/SdPlatformModelApi.d.ts

@@ -86,6 +86,9 @@ import { ResourcesApi } from "./commons/ResourcesApi";

* @param slug - the model slug.
* @param parameters - optional parameters
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseIFrameData} as data.
*/
iframeEmbedding(slug: string): Promise<SdPlatformPostResponse<SdPlatformResponseIFrameData>>;
iframeEmbedding(slug: string, parameters?: {
saved_states?: boolean;
}): Promise<SdPlatformPostResponse<SdPlatformResponseIFrameData>>;
}
//# sourceMappingURL=SdPlatformModelApi.d.ts.map

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

* @param slug - the model slug.
* @param parameters - optional parameters
* @returns the {@link SdPlatformPostResponse} with {@link SdPlatformResponseIFrameData} as data.
*/
iframeEmbedding(slug) {
iframeEmbedding(slug, parameters = {}) {
const is_iframe = parent !== window;

@@ -113,3 +114,3 @@ const origin = is_iframe

: window.location.origin;
return super.__action(SdPlatformRequestId_1.RequestId.ModelIframeData, ResourcesApi_1.Action.Post, `iframe/${slug}`, {}, {
return super.__action(SdPlatformRequestId_1.RequestId.ModelIframeData, ResourcesApi_1.Action.Post, `iframe/${slug}`, parameters, {
"X-ShapeDiver-Origin": origin

@@ -116,0 +117,0 @@ });

4

package.json
{
"name": "@shapediver/sdk.platform-api-sdk-v1",
"version": "2.18.8",
"version": "2.18.9",
"description": "SDK to communicate with the Platform API version 1",

@@ -41,3 +41,3 @@ "keywords": [

"dependencies": {
"@shapediver/api.platform-api-dto-v1": "~2.18.8",
"@shapediver/api.platform-api-dto-v1": "~2.18.9",
"@shapediver/api.geometry-api-dto-v2": "~1.11.0",

@@ -44,0 +44,0 @@ "axios": "^0.26.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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