@nodaro/sdk 2.8.0 → 2.9.0
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/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -4
- package/dist/index.d.ts +31 -4
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -736,7 +736,11 @@ var Scene3DResource = class {
|
|
|
736
736
|
idempotencyKey: options?.idempotencyKey ?? newIdempotencyKey()
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
741
|
+
*
|
|
742
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
743
|
+
*/
|
|
740
744
|
render(params) {
|
|
741
745
|
return this.client.nodes.run("render-video", params);
|
|
742
746
|
}
|
|
@@ -822,9 +826,9 @@ var OAuthResource = class {
|
|
|
822
826
|
* Get public app metadata for a consent screen.
|
|
823
827
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
824
828
|
*/
|
|
825
|
-
getAppInfo(clientId) {
|
|
829
|
+
getAppInfo(clientId, redirectUri) {
|
|
826
830
|
return this.client.request("GET", "/v1/oauth/app-info", {
|
|
827
|
-
query: { client_id: clientId }
|
|
831
|
+
query: redirectUri ? { client_id: clientId, redirect_uri: redirectUri } : { client_id: clientId }
|
|
828
832
|
});
|
|
829
833
|
}
|
|
830
834
|
};
|
|
@@ -3397,7 +3401,7 @@ var WorkspacesResource = class {
|
|
|
3397
3401
|
return this.client.requestText("GET", `/v1/workspaces/${encodeURIComponent(id)}/usage`, { query: { ...opts, format: "csv" } });
|
|
3398
3402
|
}
|
|
3399
3403
|
};
|
|
3400
|
-
var SDK_VERSION = "2.
|
|
3404
|
+
var SDK_VERSION = "2.9.0" ;
|
|
3401
3405
|
var CLIENT_HEADER = "X-Nodaro-Client";
|
|
3402
3406
|
var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
3403
3407
|
var NodaroClient = class _NodaroClient {
|