@uniformdev/mesh-sdk 20.13.3-alpha.12 → 20.14.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.d.mts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.esm.js +2 -5
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -233,9 +233,10 @@ interface paths$1 {
|
|
|
233
233
|
definition: {
|
|
234
234
|
name: string;
|
|
235
235
|
description: string;
|
|
236
|
-
parameters
|
|
236
|
+
parameters: {
|
|
237
237
|
[key: string]: unknown;
|
|
238
238
|
};
|
|
239
|
+
strict: boolean;
|
|
239
240
|
};
|
|
240
241
|
systemParameters?: "pageHtml"[];
|
|
241
242
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -492,9 +493,10 @@ interface paths$1 {
|
|
|
492
493
|
definition: {
|
|
493
494
|
name: string;
|
|
494
495
|
description: string;
|
|
495
|
-
parameters
|
|
496
|
+
parameters: {
|
|
496
497
|
[key: string]: unknown;
|
|
497
498
|
};
|
|
499
|
+
strict: boolean;
|
|
498
500
|
};
|
|
499
501
|
systemParameters?: "pageHtml"[];
|
|
500
502
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -736,9 +738,10 @@ interface paths$1 {
|
|
|
736
738
|
definition: {
|
|
737
739
|
name: string;
|
|
738
740
|
description: string;
|
|
739
|
-
parameters
|
|
741
|
+
parameters: {
|
|
740
742
|
[key: string]: unknown;
|
|
741
743
|
};
|
|
744
|
+
strict: boolean;
|
|
742
745
|
};
|
|
743
746
|
systemParameters?: "pageHtml"[];
|
|
744
747
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -1329,9 +1332,10 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1329
1332
|
definition: {
|
|
1330
1333
|
name: string;
|
|
1331
1334
|
description: string;
|
|
1332
|
-
parameters
|
|
1335
|
+
parameters: {
|
|
1333
1336
|
[key: string]: unknown;
|
|
1334
1337
|
};
|
|
1338
|
+
strict: boolean;
|
|
1335
1339
|
};
|
|
1336
1340
|
systemParameters?: "pageHtml"[];
|
|
1337
1341
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -1412,7 +1416,11 @@ type FunctionCallSystemParameter = (typeof functionCallSystemParameters)[number]
|
|
|
1412
1416
|
declare function parseFunctionCall<Parameters extends Record<string, string>, Settings = Record<string, string>>(request: Pick<Request, 'body'>): {
|
|
1413
1417
|
functionCall: {
|
|
1414
1418
|
arguments: Parameters;
|
|
1419
|
+
call_id: string;
|
|
1415
1420
|
name: string;
|
|
1421
|
+
type: "function_call";
|
|
1422
|
+
id?: string;
|
|
1423
|
+
status?: "in_progress" | "completed" | "incomplete";
|
|
1416
1424
|
};
|
|
1417
1425
|
settings: Settings;
|
|
1418
1426
|
systemParameters: Record<FunctionCallSystemParameter, string | undefined>;
|
|
@@ -1544,7 +1552,6 @@ interface MeshContextData {
|
|
|
1544
1552
|
locationMetadata: any;
|
|
1545
1553
|
uniformApiVersion: string;
|
|
1546
1554
|
dialogContext?: DialogContext;
|
|
1547
|
-
fullScreenHeight?: boolean;
|
|
1548
1555
|
}
|
|
1549
1556
|
interface DialogContext {
|
|
1550
1557
|
dialogId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -233,9 +233,10 @@ interface paths$1 {
|
|
|
233
233
|
definition: {
|
|
234
234
|
name: string;
|
|
235
235
|
description: string;
|
|
236
|
-
parameters
|
|
236
|
+
parameters: {
|
|
237
237
|
[key: string]: unknown;
|
|
238
238
|
};
|
|
239
|
+
strict: boolean;
|
|
239
240
|
};
|
|
240
241
|
systemParameters?: "pageHtml"[];
|
|
241
242
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -492,9 +493,10 @@ interface paths$1 {
|
|
|
492
493
|
definition: {
|
|
493
494
|
name: string;
|
|
494
495
|
description: string;
|
|
495
|
-
parameters
|
|
496
|
+
parameters: {
|
|
496
497
|
[key: string]: unknown;
|
|
497
498
|
};
|
|
499
|
+
strict: boolean;
|
|
498
500
|
};
|
|
499
501
|
systemParameters?: "pageHtml"[];
|
|
500
502
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -736,9 +738,10 @@ interface paths$1 {
|
|
|
736
738
|
definition: {
|
|
737
739
|
name: string;
|
|
738
740
|
description: string;
|
|
739
|
-
parameters
|
|
741
|
+
parameters: {
|
|
740
742
|
[key: string]: unknown;
|
|
741
743
|
};
|
|
744
|
+
strict: boolean;
|
|
742
745
|
};
|
|
743
746
|
systemParameters?: "pageHtml"[];
|
|
744
747
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -1329,9 +1332,10 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1329
1332
|
definition: {
|
|
1330
1333
|
name: string;
|
|
1331
1334
|
description: string;
|
|
1332
|
-
parameters
|
|
1335
|
+
parameters: {
|
|
1333
1336
|
[key: string]: unknown;
|
|
1334
1337
|
};
|
|
1338
|
+
strict: boolean;
|
|
1335
1339
|
};
|
|
1336
1340
|
systemParameters?: "pageHtml"[];
|
|
1337
1341
|
includedAgents?: ("scout" | "sage")[];
|
|
@@ -1412,7 +1416,11 @@ type FunctionCallSystemParameter = (typeof functionCallSystemParameters)[number]
|
|
|
1412
1416
|
declare function parseFunctionCall<Parameters extends Record<string, string>, Settings = Record<string, string>>(request: Pick<Request, 'body'>): {
|
|
1413
1417
|
functionCall: {
|
|
1414
1418
|
arguments: Parameters;
|
|
1419
|
+
call_id: string;
|
|
1415
1420
|
name: string;
|
|
1421
|
+
type: "function_call";
|
|
1422
|
+
id?: string;
|
|
1423
|
+
status?: "in_progress" | "completed" | "incomplete";
|
|
1416
1424
|
};
|
|
1417
1425
|
settings: Settings;
|
|
1418
1426
|
systemParameters: Record<FunctionCallSystemParameter, string | undefined>;
|
|
@@ -1544,7 +1552,6 @@ interface MeshContextData {
|
|
|
1544
1552
|
locationMetadata: any;
|
|
1545
1553
|
uniformApiVersion: string;
|
|
1546
1554
|
dialogContext?: DialogContext;
|
|
1547
|
-
fullScreenHeight?: boolean;
|
|
1548
1555
|
}
|
|
1549
1556
|
interface DialogContext {
|
|
1550
1557
|
dialogId: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -131,7 +131,7 @@ var getLogger = (prefix, debug) => {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
// src/temp/version.ts
|
|
134
|
-
var UNIFORM_MESH_SDK_VERSION = "20.
|
|
134
|
+
var UNIFORM_MESH_SDK_VERSION = "20.14.0";
|
|
135
135
|
|
|
136
136
|
// src/framepost/constants.ts
|
|
137
137
|
var DEFAULT_REQUEST_TIMEOUT = 5e3;
|
|
@@ -742,10 +742,7 @@ async function initializeUniformMeshSDK({
|
|
|
742
742
|
// then we disable autoResizing for the dialog location.
|
|
743
743
|
// Otherwise, autoResizing will likely "overwrite" the specified `contentHeight` value, making
|
|
744
744
|
// developers very sad and confused. No one wants a sad and confused developer.
|
|
745
|
-
|
|
746
|
-
// so by default it will be stretch to the maximum height of the parent.
|
|
747
|
-
// Can still be manually enabled by calling sdk.currentWindow?.enableAutoResizing() in mesh app.
|
|
748
|
-
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) || contextData.fullScreenHeight ? true : autoResizingDisabled
|
|
745
|
+
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) ? true : autoResizingDisabled
|
|
749
746
|
}),
|
|
750
747
|
version: contextData.uniformApiVersion,
|
|
751
748
|
openLocationDialog: async ({
|
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var getLogger = (prefix, debug) => {
|
|
|
172
172
|
};
|
|
173
173
|
|
|
174
174
|
// src/temp/version.ts
|
|
175
|
-
var UNIFORM_MESH_SDK_VERSION = "20.
|
|
175
|
+
var UNIFORM_MESH_SDK_VERSION = "20.14.0";
|
|
176
176
|
|
|
177
177
|
// src/framepost/constants.ts
|
|
178
178
|
var DEFAULT_REQUEST_TIMEOUT = 5e3;
|
|
@@ -783,10 +783,7 @@ async function initializeUniformMeshSDK({
|
|
|
783
783
|
// then we disable autoResizing for the dialog location.
|
|
784
784
|
// Otherwise, autoResizing will likely "overwrite" the specified `contentHeight` value, making
|
|
785
785
|
// developers very sad and confused. No one wants a sad and confused developer.
|
|
786
|
-
|
|
787
|
-
// so by default it will be stretch to the maximum height of the parent.
|
|
788
|
-
// Can still be manually enabled by calling sdk.currentWindow?.enableAutoResizing() in mesh app.
|
|
789
|
-
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) || contextData.fullScreenHeight ? true : autoResizingDisabled
|
|
786
|
+
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) ? true : autoResizingDisabled
|
|
790
787
|
}),
|
|
791
788
|
version: contextData.uniformApiVersion,
|
|
792
789
|
openLocationDialog: async ({
|
package/dist/index.mjs
CHANGED
|
@@ -131,7 +131,7 @@ var getLogger = (prefix, debug) => {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
// src/temp/version.ts
|
|
134
|
-
var UNIFORM_MESH_SDK_VERSION = "20.
|
|
134
|
+
var UNIFORM_MESH_SDK_VERSION = "20.14.0";
|
|
135
135
|
|
|
136
136
|
// src/framepost/constants.ts
|
|
137
137
|
var DEFAULT_REQUEST_TIMEOUT = 5e3;
|
|
@@ -742,10 +742,7 @@ async function initializeUniformMeshSDK({
|
|
|
742
742
|
// then we disable autoResizing for the dialog location.
|
|
743
743
|
// Otherwise, autoResizing will likely "overwrite" the specified `contentHeight` value, making
|
|
744
744
|
// developers very sad and confused. No one wants a sad and confused developer.
|
|
745
|
-
|
|
746
|
-
// so by default it will be stretch to the maximum height of the parent.
|
|
747
|
-
// Can still be manually enabled by calling sdk.currentWindow?.enableAutoResizing() in mesh app.
|
|
748
|
-
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) || contextData.fullScreenHeight ? true : autoResizingDisabled
|
|
745
|
+
autoResizingDisabled: ((_a = contextData.dialogContext) == null ? void 0 : _a.contentHeight) ? true : autoResizingDisabled
|
|
749
746
|
}),
|
|
750
747
|
version: contextData.uniformApiVersion,
|
|
751
748
|
openLocationDialog: async ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.14.0",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@uniformdev/assets": "20.
|
|
38
|
-
"@uniformdev/canvas": "20.
|
|
39
|
-
"@uniformdev/context": "20.
|
|
40
|
-
"@uniformdev/project-map": "20.
|
|
37
|
+
"@uniformdev/assets": "20.14.0",
|
|
38
|
+
"@uniformdev/canvas": "20.14.0",
|
|
39
|
+
"@uniformdev/context": "20.14.0",
|
|
40
|
+
"@uniformdev/project-map": "20.14.0",
|
|
41
41
|
"imagesloaded": "^5.0.0",
|
|
42
42
|
"mitt": "^3.0.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/imagesloaded": "^4.1.2",
|
|
46
|
-
"openai": "
|
|
46
|
+
"openai": "4.94.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "958a8fe27da8ec9191a1a09f289f6f7418dd16d6"
|
|
49
49
|
}
|