@mitralab.io/sdk-core 0.2.17-beta.0 → 0.2.17-beta.1
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/CHANGELOG.md +6 -0
- package/README.md +2 -0
- package/contracts/README.md +5 -0
- package/contracts/manifest.json +6 -1
- package/contracts/v0.2.17-beta.1/sdk-parity.json +2902 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -407,7 +407,7 @@ function expectFunctionVersion(value, context, errors) {
|
|
|
407
407
|
if (typeof version.id !== "string") invalidField(context, "id", errors);
|
|
408
408
|
if (typeof version.functionId !== "string") invalidField(context, "functionId", errors);
|
|
409
409
|
if (typeof version.status !== "string") invalidField(context, "status", errors);
|
|
410
|
-
if (
|
|
410
|
+
if (!isNullableString(version.code)) invalidField(context, "code", errors);
|
|
411
411
|
if (version.inputSchema !== null && !isObject(version.inputSchema)) {
|
|
412
412
|
invalidField(context, "inputSchema", errors);
|
|
413
413
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -363,7 +363,7 @@ interface FunctionVersion {
|
|
|
363
363
|
id: string;
|
|
364
364
|
functionId: string;
|
|
365
365
|
status: string;
|
|
366
|
-
code: string;
|
|
366
|
+
code: string | null;
|
|
367
367
|
inputSchema: Record<string, unknown> | null;
|
|
368
368
|
outputSchema: Record<string, unknown> | null;
|
|
369
369
|
secrets: string[] | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ interface FunctionVersion {
|
|
|
363
363
|
id: string;
|
|
364
364
|
functionId: string;
|
|
365
365
|
status: string;
|
|
366
|
-
code: string;
|
|
366
|
+
code: string | null;
|
|
367
367
|
inputSchema: Record<string, unknown> | null;
|
|
368
368
|
outputSchema: Record<string, unknown> | null;
|
|
369
369
|
secrets: string[] | null;
|
package/dist/index.js
CHANGED
|
@@ -335,7 +335,7 @@ function expectFunctionVersion(value, context, errors) {
|
|
|
335
335
|
if (typeof version.id !== "string") invalidField(context, "id", errors);
|
|
336
336
|
if (typeof version.functionId !== "string") invalidField(context, "functionId", errors);
|
|
337
337
|
if (typeof version.status !== "string") invalidField(context, "status", errors);
|
|
338
|
-
if (
|
|
338
|
+
if (!isNullableString(version.code)) invalidField(context, "code", errors);
|
|
339
339
|
if (version.inputSchema !== null && !isObject(version.inputSchema)) {
|
|
340
340
|
invalidField(context, "inputSchema", errors);
|
|
341
341
|
}
|