@supernova-studio/supernova-sdk-beta 2.1.3 → 2.2.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/build/sdk-typescript/src/core/SDKSupernova.d.ts +0 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaNetwork.d.ts +1 -2
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +1 -1
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +0 -1
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +1 -3
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { DataCore } from "../data/SDKDataCore";
|
|
2
|
-
import { RequestInfo, RequestInit, Response } from "node-fetch";
|
|
3
2
|
export declare class AreaNetwork {
|
|
4
3
|
/** Internal: Engine */
|
|
5
4
|
private dataCore;
|
|
6
5
|
constructor(dataCore: DataCore);
|
|
7
|
-
/** Fires network request using node-fetch
|
|
6
|
+
/** Fires network request using either node-fetch or native fetch if available inside the environment sdk runs in */
|
|
8
7
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
9
8
|
}
|
|
@@ -51,7 +51,7 @@ export declare class DataBridge {
|
|
|
51
51
|
private handleResponse;
|
|
52
52
|
private buildRequestConfig;
|
|
53
53
|
private getProxyAgent;
|
|
54
|
-
|
|
54
|
+
getFetchInvoker(): any;
|
|
55
55
|
getApiEndpoint(fragment: string | null): string;
|
|
56
56
|
getBaseEndpoint(fragment: string | null): string;
|
|
57
57
|
getPublicEndpoint(fragment: string): string;
|
|
@@ -75,7 +75,6 @@ import { ComponentUpdateTransactionData, TokenUpdateTransactionData } from "../a
|
|
|
75
75
|
import { DataCoreReadRequests } from "./requests/SDKDataCoreReadRequests";
|
|
76
76
|
import { RenderedAssetRequestSettings } from "./requests/SDKDataCoreRenderRequests";
|
|
77
77
|
import { DataBridge } from "./SDKDataBridge";
|
|
78
|
-
import { RequestInfo, RequestInit, Response } from "node-fetch";
|
|
79
78
|
export declare class DataCore {
|
|
80
79
|
/** Read part of the network calls */
|
|
81
80
|
read: DataCoreReadRequests;
|