@boundaryml/baml-bridge-web 0.21.0 → 0.21.1-nightly.20261009.a
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/shared/proto/baml_cffi.d.ts +1 -98
- package/dist/shared/proto/baml_cffi.js +1 -113
- package/dist/wasm/bridge_web_core.d.ts +3 -3
- package/dist/wasm/bridge_web_core.js +11 -11
- package/dist/wasm/bridge_web_core_bg.wasm +0 -0
- package/dist/wasm/bridge_web_core_bg.wasm.d.ts +3 -3
- package/dist/workerd/shared/proto/baml_cffi.d.ts +1 -98
- package/dist/workerd/shared/proto/baml_cffi.js +1 -113
- package/dist/workerd-wasm/bridge_web_core_bg.js +11 -11
- package/dist/workerd-wasm/bridge_web_core_bg.wasm +0 -0
- package/dist/workerd-wasm/bridge_web_core_bg.wasm.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1740,9 +1740,6 @@ export namespace baml_bridge {
|
|
|
1740
1740
|
/** BamlTy promptAst */
|
|
1741
1741
|
promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1742
1742
|
|
|
1743
|
-
/** BamlTy void */
|
|
1744
|
-
"void"?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1745
|
-
|
|
1746
1743
|
/** BamlTy typeVar */
|
|
1747
1744
|
typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1748
1745
|
|
|
@@ -1819,9 +1816,6 @@ export namespace baml_bridge {
|
|
|
1819
1816
|
/** BamlTy promptAst. */
|
|
1820
1817
|
public promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1821
1818
|
|
|
1822
|
-
/** BamlTy void. */
|
|
1823
|
-
public void?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1824
|
-
|
|
1825
1819
|
/** BamlTy typeVar. */
|
|
1826
1820
|
public typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1827
1821
|
|
|
@@ -1832,7 +1826,7 @@ export namespace baml_bridge {
|
|
|
1832
1826
|
public never?: (baml_bridge.cffi.v1.IBamlTyNever|null);
|
|
1833
1827
|
|
|
1834
1828
|
/** BamlTy ty. */
|
|
1835
|
-
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"
|
|
1829
|
+
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"typeVar"|"associatedTypeProjection"|"never");
|
|
1836
1830
|
|
|
1837
1831
|
/**
|
|
1838
1832
|
* Creates a new BamlTy instance using the specified properties.
|
|
@@ -4949,97 +4943,6 @@ export namespace baml_bridge {
|
|
|
4949
4943
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4950
4944
|
}
|
|
4951
4945
|
|
|
4952
|
-
/** Properties of a BamlTyVoid. */
|
|
4953
|
-
interface IBamlTyVoid {
|
|
4954
|
-
}
|
|
4955
|
-
|
|
4956
|
-
/** Represents a BamlTyVoid. */
|
|
4957
|
-
class BamlTyVoid implements IBamlTyVoid {
|
|
4958
|
-
|
|
4959
|
-
/**
|
|
4960
|
-
* Constructs a new BamlTyVoid.
|
|
4961
|
-
* @param [properties] Properties to set
|
|
4962
|
-
*/
|
|
4963
|
-
constructor(properties?: baml_bridge.cffi.v1.IBamlTyVoid);
|
|
4964
|
-
|
|
4965
|
-
/**
|
|
4966
|
-
* Creates a new BamlTyVoid instance using the specified properties.
|
|
4967
|
-
* @param [properties] Properties to set
|
|
4968
|
-
* @returns BamlTyVoid instance
|
|
4969
|
-
*/
|
|
4970
|
-
public static create(properties?: baml_bridge.cffi.v1.IBamlTyVoid): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4971
|
-
|
|
4972
|
-
/**
|
|
4973
|
-
* Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4974
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4975
|
-
* @param [writer] Writer to encode to
|
|
4976
|
-
* @returns Writer
|
|
4977
|
-
*/
|
|
4978
|
-
public static encode(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4979
|
-
|
|
4980
|
-
/**
|
|
4981
|
-
* Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4982
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4983
|
-
* @param [writer] Writer to encode to
|
|
4984
|
-
* @returns Writer
|
|
4985
|
-
*/
|
|
4986
|
-
public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4987
|
-
|
|
4988
|
-
/**
|
|
4989
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer.
|
|
4990
|
-
* @param reader Reader or buffer to decode from
|
|
4991
|
-
* @param [length] Message length if known beforehand
|
|
4992
|
-
* @returns BamlTyVoid
|
|
4993
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4994
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4995
|
-
*/
|
|
4996
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4997
|
-
|
|
4998
|
-
/**
|
|
4999
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer, length delimited.
|
|
5000
|
-
* @param reader Reader or buffer to decode from
|
|
5001
|
-
* @returns BamlTyVoid
|
|
5002
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5003
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5004
|
-
*/
|
|
5005
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5006
|
-
|
|
5007
|
-
/**
|
|
5008
|
-
* Verifies a BamlTyVoid message.
|
|
5009
|
-
* @param message Plain object to verify
|
|
5010
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5011
|
-
*/
|
|
5012
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5013
|
-
|
|
5014
|
-
/**
|
|
5015
|
-
* Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types.
|
|
5016
|
-
* @param object Plain object
|
|
5017
|
-
* @returns BamlTyVoid
|
|
5018
|
-
*/
|
|
5019
|
-
public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5020
|
-
|
|
5021
|
-
/**
|
|
5022
|
-
* Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified.
|
|
5023
|
-
* @param message BamlTyVoid
|
|
5024
|
-
* @param [options] Conversion options
|
|
5025
|
-
* @returns Plain object
|
|
5026
|
-
*/
|
|
5027
|
-
public static toObject(message: baml_bridge.cffi.v1.BamlTyVoid, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5028
|
-
|
|
5029
|
-
/**
|
|
5030
|
-
* Converts this BamlTyVoid to JSON.
|
|
5031
|
-
* @returns JSON object
|
|
5032
|
-
*/
|
|
5033
|
-
public toJSON(): { [k: string]: any };
|
|
5034
|
-
|
|
5035
|
-
/**
|
|
5036
|
-
* Gets the default type url for BamlTyVoid
|
|
5037
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5038
|
-
* @returns The default type url
|
|
5039
|
-
*/
|
|
5040
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
4946
|
/** Properties of a BamlTyTypeVar. */
|
|
5044
4947
|
interface IBamlTyTypeVar {
|
|
5045
4948
|
|
|
@@ -5585,13 +5585,12 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5585
5585
|
BamlTy.prototype.metaType = null;
|
|
5586
5586
|
BamlTy.prototype.resource = null;
|
|
5587
5587
|
BamlTy.prototype.promptAst = null;
|
|
5588
|
-
BamlTy.prototype["void"] = null;
|
|
5589
5588
|
BamlTy.prototype.typeVar = null;
|
|
5590
5589
|
BamlTy.prototype.associatedTypeProjection = null;
|
|
5591
5590
|
BamlTy.prototype.never = null;
|
|
5592
5591
|
let $oneOfFields;
|
|
5593
5592
|
Object.defineProperty(BamlTy.prototype, "ty", {
|
|
5594
|
-
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "
|
|
5593
|
+
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "typeVar", "associatedTypeProjection", "never"]),
|
|
5595
5594
|
set: $util.oneOfSetter($oneOfFields)
|
|
5596
5595
|
});
|
|
5597
5596
|
BamlTy.create = function create(properties) {
|
|
@@ -5699,11 +5698,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5699
5698
|
/* id 19, wireType 2 =*/
|
|
5700
5699
|
154
|
|
5701
5700
|
).fork(), q + 1).ldelim();
|
|
5702
|
-
if (message["void"] != null && Object.hasOwnProperty.call(message, "void"))
|
|
5703
|
-
$root.baml_bridge.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(
|
|
5704
|
-
/* id 20, wireType 2 =*/
|
|
5705
|
-
162
|
|
5706
|
-
).fork(), q + 1).ldelim();
|
|
5707
5701
|
if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar"))
|
|
5708
5702
|
$root.baml_bridge.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(
|
|
5709
5703
|
/* id 22, wireType 2 =*/
|
|
@@ -5813,10 +5807,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5813
5807
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5814
5808
|
break;
|
|
5815
5809
|
}
|
|
5816
|
-
case 20: {
|
|
5817
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5818
|
-
break;
|
|
5819
|
-
}
|
|
5820
5810
|
case 22: {
|
|
5821
5811
|
message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5822
5812
|
break;
|
|
@@ -6037,16 +6027,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6037
6027
|
return "promptAst." + error;
|
|
6038
6028
|
}
|
|
6039
6029
|
}
|
|
6040
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
6041
|
-
if (properties.ty === 1)
|
|
6042
|
-
return "ty: multiple values";
|
|
6043
|
-
properties.ty = 1;
|
|
6044
|
-
{
|
|
6045
|
-
let error = $root.baml_bridge.cffi.v1.BamlTyVoid.verify(message["void"], long + 1);
|
|
6046
|
-
if (error)
|
|
6047
|
-
return "void." + error;
|
|
6048
|
-
}
|
|
6049
|
-
}
|
|
6050
6030
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
6051
6031
|
if (properties.ty === 1)
|
|
6052
6032
|
return "ty: multiple values";
|
|
@@ -6184,11 +6164,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6184
6164
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.promptAst: object expected");
|
|
6185
6165
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1);
|
|
6186
6166
|
}
|
|
6187
|
-
if (object["void"] != null) {
|
|
6188
|
-
if (!$util.isObject(object["void"]))
|
|
6189
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTy.void: object expected");
|
|
6190
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1);
|
|
6191
|
-
}
|
|
6192
6167
|
if (object.typeVar != null) {
|
|
6193
6168
|
if (!$util.isObject(object.typeVar))
|
|
6194
6169
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeVar: object expected");
|
|
@@ -6309,11 +6284,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6309
6284
|
if (options.oneofs)
|
|
6310
6285
|
object.ty = "promptAst";
|
|
6311
6286
|
}
|
|
6312
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
6313
|
-
object["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1);
|
|
6314
|
-
if (options.oneofs)
|
|
6315
|
-
object.ty = "void";
|
|
6316
|
-
}
|
|
6317
6287
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
6318
6288
|
object.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1);
|
|
6319
6289
|
if (options.oneofs)
|
|
@@ -10736,88 +10706,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
10736
10706
|
};
|
|
10737
10707
|
return BamlTyPromptAst;
|
|
10738
10708
|
})();
|
|
10739
|
-
v1.BamlTyVoid = (function() {
|
|
10740
|
-
function BamlTyVoid(properties) {
|
|
10741
|
-
if (properties) {
|
|
10742
|
-
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10743
|
-
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
10744
|
-
this[keys[i]] = properties[keys[i]];
|
|
10745
|
-
}
|
|
10746
|
-
}
|
|
10747
|
-
BamlTyVoid.create = function create(properties) {
|
|
10748
|
-
return new BamlTyVoid(properties);
|
|
10749
|
-
};
|
|
10750
|
-
BamlTyVoid.encode = function encode(message, writer, q) {
|
|
10751
|
-
if (!writer)
|
|
10752
|
-
writer = $Writer.create();
|
|
10753
|
-
if (q === void 0)
|
|
10754
|
-
q = 0;
|
|
10755
|
-
if (q > $util.recursionLimit)
|
|
10756
|
-
throw Error("max depth exceeded");
|
|
10757
|
-
return writer;
|
|
10758
|
-
};
|
|
10759
|
-
BamlTyVoid.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10760
|
-
return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
|
|
10761
|
-
};
|
|
10762
|
-
BamlTyVoid.decode = function decode(reader, length, error, long) {
|
|
10763
|
-
if (!(reader instanceof $Reader))
|
|
10764
|
-
reader = $Reader.create(reader);
|
|
10765
|
-
if (long === void 0)
|
|
10766
|
-
long = 0;
|
|
10767
|
-
if (long > $Reader.recursionLimit)
|
|
10768
|
-
throw Error("maximum nesting depth exceeded");
|
|
10769
|
-
let end = length === void 0 ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
10770
|
-
while (reader.pos < end) {
|
|
10771
|
-
let tag = reader.uint32();
|
|
10772
|
-
if (tag === error)
|
|
10773
|
-
break;
|
|
10774
|
-
switch (tag >>> 3) {
|
|
10775
|
-
default:
|
|
10776
|
-
reader.skipType(tag & 7, long);
|
|
10777
|
-
break;
|
|
10778
|
-
}
|
|
10779
|
-
}
|
|
10780
|
-
return message;
|
|
10781
|
-
};
|
|
10782
|
-
BamlTyVoid.decodeDelimited = function decodeDelimited(reader) {
|
|
10783
|
-
if (!(reader instanceof $Reader))
|
|
10784
|
-
reader = new $Reader(reader);
|
|
10785
|
-
return this.decode(reader, reader.uint32());
|
|
10786
|
-
};
|
|
10787
|
-
BamlTyVoid.verify = function verify(message, long) {
|
|
10788
|
-
if (typeof message !== "object" || message === null)
|
|
10789
|
-
return "object expected";
|
|
10790
|
-
if (long === void 0)
|
|
10791
|
-
long = 0;
|
|
10792
|
-
if (long > $util.recursionLimit)
|
|
10793
|
-
return "maximum nesting depth exceeded";
|
|
10794
|
-
return null;
|
|
10795
|
-
};
|
|
10796
|
-
BamlTyVoid.fromObject = function fromObject(object, long) {
|
|
10797
|
-
if (object instanceof $root.baml_bridge.cffi.v1.BamlTyVoid)
|
|
10798
|
-
return object;
|
|
10799
|
-
if (!$util.isObject(object))
|
|
10800
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTyVoid: object expected");
|
|
10801
|
-
if (long === void 0)
|
|
10802
|
-
long = 0;
|
|
10803
|
-
if (long > $util.recursionLimit)
|
|
10804
|
-
throw Error("maximum nesting depth exceeded");
|
|
10805
|
-
return new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
10806
|
-
};
|
|
10807
|
-
BamlTyVoid.toObject = function toObject() {
|
|
10808
|
-
return {};
|
|
10809
|
-
};
|
|
10810
|
-
BamlTyVoid.prototype.toJSON = function toJSON() {
|
|
10811
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10812
|
-
};
|
|
10813
|
-
BamlTyVoid.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10814
|
-
if (typeUrlPrefix === void 0) {
|
|
10815
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
10816
|
-
}
|
|
10817
|
-
return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyVoid";
|
|
10818
|
-
};
|
|
10819
|
-
return BamlTyVoid;
|
|
10820
|
-
})();
|
|
10821
10709
|
v1.BamlTyTypeVar = (function() {
|
|
10822
10710
|
function BamlTyTypeVar(properties) {
|
|
10823
10711
|
if (properties) {
|
|
@@ -230,9 +230,9 @@ export interface InitOutput {
|
|
|
230
230
|
readonly free_buffer: (a: number) => void;
|
|
231
231
|
readonly new_function_call: () => bigint;
|
|
232
232
|
readonly release_function_call: (a: bigint) => number;
|
|
233
|
-
readonly
|
|
234
|
-
readonly
|
|
235
|
-
readonly
|
|
233
|
+
readonly __wasm_bindgen_func_elem_44361: (a: number, b: number, c: number, d: number) => void;
|
|
234
|
+
readonly __wasm_bindgen_func_elem_44363: (a: number, b: number, c: number, d: number) => void;
|
|
235
|
+
readonly __wasm_bindgen_func_elem_30968: (a: number, b: number) => void;
|
|
236
236
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
237
237
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
238
238
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -1051,7 +1051,7 @@ function __wbg_get_imports() {
|
|
|
1051
1051
|
const a = state0.a;
|
|
1052
1052
|
state0.a = 0;
|
|
1053
1053
|
try {
|
|
1054
|
-
return
|
|
1054
|
+
return __wasm_bindgen_func_elem_44363(a, state0.b, arg0, arg1);
|
|
1055
1055
|
} finally {
|
|
1056
1056
|
state0.a = a;
|
|
1057
1057
|
}
|
|
@@ -1151,13 +1151,13 @@ function __wbg_get_imports() {
|
|
|
1151
1151
|
return addHeapObject(ret);
|
|
1152
1152
|
},
|
|
1153
1153
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1154
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1155
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1154
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 7063, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1155
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_44361);
|
|
1156
1156
|
return addHeapObject(ret);
|
|
1157
1157
|
},
|
|
1158
1158
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1159
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1160
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1159
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 4740, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1160
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_30968);
|
|
1161
1161
|
return addHeapObject(ret);
|
|
1162
1162
|
},
|
|
1163
1163
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1196,14 +1196,14 @@ function __wbg_get_imports() {
|
|
|
1196
1196
|
};
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
-
function
|
|
1200
|
-
wasm.
|
|
1199
|
+
function __wasm_bindgen_func_elem_30968(arg0, arg1) {
|
|
1200
|
+
wasm.__wasm_bindgen_func_elem_30968(arg0, arg1);
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
|
-
function
|
|
1203
|
+
function __wasm_bindgen_func_elem_44361(arg0, arg1, arg2) {
|
|
1204
1204
|
try {
|
|
1205
1205
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1206
|
-
wasm.
|
|
1206
|
+
wasm.__wasm_bindgen_func_elem_44361(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1207
1207
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1208
1208
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1209
1209
|
if (r1) {
|
|
@@ -1214,8 +1214,8 @@ function __wasm_bindgen_func_elem_44283(arg0, arg1, arg2) {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
|
-
function
|
|
1218
|
-
wasm.
|
|
1217
|
+
function __wasm_bindgen_func_elem_44363(arg0, arg1, arg2, arg3) {
|
|
1218
|
+
wasm.__wasm_bindgen_func_elem_44363(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
1221
|
const CancellationWatchFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
|
@@ -57,9 +57,9 @@ export const cancel_function_call: (a: bigint) => number;
|
|
|
57
57
|
export const free_buffer: (a: number) => void;
|
|
58
58
|
export const new_function_call: () => bigint;
|
|
59
59
|
export const release_function_call: (a: bigint) => number;
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
60
|
+
export const __wasm_bindgen_func_elem_44361: (a: number, b: number, c: number, d: number) => void;
|
|
61
|
+
export const __wasm_bindgen_func_elem_44363: (a: number, b: number, c: number, d: number) => void;
|
|
62
|
+
export const __wasm_bindgen_func_elem_30968: (a: number, b: number) => void;
|
|
63
63
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
64
64
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
65
65
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -1740,9 +1740,6 @@ export namespace baml_bridge {
|
|
|
1740
1740
|
/** BamlTy promptAst */
|
|
1741
1741
|
promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1742
1742
|
|
|
1743
|
-
/** BamlTy void */
|
|
1744
|
-
"void"?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1745
|
-
|
|
1746
1743
|
/** BamlTy typeVar */
|
|
1747
1744
|
typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1748
1745
|
|
|
@@ -1819,9 +1816,6 @@ export namespace baml_bridge {
|
|
|
1819
1816
|
/** BamlTy promptAst. */
|
|
1820
1817
|
public promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1821
1818
|
|
|
1822
|
-
/** BamlTy void. */
|
|
1823
|
-
public void?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1824
|
-
|
|
1825
1819
|
/** BamlTy typeVar. */
|
|
1826
1820
|
public typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1827
1821
|
|
|
@@ -1832,7 +1826,7 @@ export namespace baml_bridge {
|
|
|
1832
1826
|
public never?: (baml_bridge.cffi.v1.IBamlTyNever|null);
|
|
1833
1827
|
|
|
1834
1828
|
/** BamlTy ty. */
|
|
1835
|
-
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"
|
|
1829
|
+
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"typeVar"|"associatedTypeProjection"|"never");
|
|
1836
1830
|
|
|
1837
1831
|
/**
|
|
1838
1832
|
* Creates a new BamlTy instance using the specified properties.
|
|
@@ -4949,97 +4943,6 @@ export namespace baml_bridge {
|
|
|
4949
4943
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4950
4944
|
}
|
|
4951
4945
|
|
|
4952
|
-
/** Properties of a BamlTyVoid. */
|
|
4953
|
-
interface IBamlTyVoid {
|
|
4954
|
-
}
|
|
4955
|
-
|
|
4956
|
-
/** Represents a BamlTyVoid. */
|
|
4957
|
-
class BamlTyVoid implements IBamlTyVoid {
|
|
4958
|
-
|
|
4959
|
-
/**
|
|
4960
|
-
* Constructs a new BamlTyVoid.
|
|
4961
|
-
* @param [properties] Properties to set
|
|
4962
|
-
*/
|
|
4963
|
-
constructor(properties?: baml_bridge.cffi.v1.IBamlTyVoid);
|
|
4964
|
-
|
|
4965
|
-
/**
|
|
4966
|
-
* Creates a new BamlTyVoid instance using the specified properties.
|
|
4967
|
-
* @param [properties] Properties to set
|
|
4968
|
-
* @returns BamlTyVoid instance
|
|
4969
|
-
*/
|
|
4970
|
-
public static create(properties?: baml_bridge.cffi.v1.IBamlTyVoid): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4971
|
-
|
|
4972
|
-
/**
|
|
4973
|
-
* Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4974
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4975
|
-
* @param [writer] Writer to encode to
|
|
4976
|
-
* @returns Writer
|
|
4977
|
-
*/
|
|
4978
|
-
public static encode(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4979
|
-
|
|
4980
|
-
/**
|
|
4981
|
-
* Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4982
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4983
|
-
* @param [writer] Writer to encode to
|
|
4984
|
-
* @returns Writer
|
|
4985
|
-
*/
|
|
4986
|
-
public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4987
|
-
|
|
4988
|
-
/**
|
|
4989
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer.
|
|
4990
|
-
* @param reader Reader or buffer to decode from
|
|
4991
|
-
* @param [length] Message length if known beforehand
|
|
4992
|
-
* @returns BamlTyVoid
|
|
4993
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4994
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4995
|
-
*/
|
|
4996
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4997
|
-
|
|
4998
|
-
/**
|
|
4999
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer, length delimited.
|
|
5000
|
-
* @param reader Reader or buffer to decode from
|
|
5001
|
-
* @returns BamlTyVoid
|
|
5002
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5003
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5004
|
-
*/
|
|
5005
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5006
|
-
|
|
5007
|
-
/**
|
|
5008
|
-
* Verifies a BamlTyVoid message.
|
|
5009
|
-
* @param message Plain object to verify
|
|
5010
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5011
|
-
*/
|
|
5012
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5013
|
-
|
|
5014
|
-
/**
|
|
5015
|
-
* Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types.
|
|
5016
|
-
* @param object Plain object
|
|
5017
|
-
* @returns BamlTyVoid
|
|
5018
|
-
*/
|
|
5019
|
-
public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5020
|
-
|
|
5021
|
-
/**
|
|
5022
|
-
* Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified.
|
|
5023
|
-
* @param message BamlTyVoid
|
|
5024
|
-
* @param [options] Conversion options
|
|
5025
|
-
* @returns Plain object
|
|
5026
|
-
*/
|
|
5027
|
-
public static toObject(message: baml_bridge.cffi.v1.BamlTyVoid, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5028
|
-
|
|
5029
|
-
/**
|
|
5030
|
-
* Converts this BamlTyVoid to JSON.
|
|
5031
|
-
* @returns JSON object
|
|
5032
|
-
*/
|
|
5033
|
-
public toJSON(): { [k: string]: any };
|
|
5034
|
-
|
|
5035
|
-
/**
|
|
5036
|
-
* Gets the default type url for BamlTyVoid
|
|
5037
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5038
|
-
* @returns The default type url
|
|
5039
|
-
*/
|
|
5040
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
4946
|
/** Properties of a BamlTyTypeVar. */
|
|
5044
4947
|
interface IBamlTyTypeVar {
|
|
5045
4948
|
|
|
@@ -5587,13 +5587,12 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5587
5587
|
BamlTy.prototype.metaType = null;
|
|
5588
5588
|
BamlTy.prototype.resource = null;
|
|
5589
5589
|
BamlTy.prototype.promptAst = null;
|
|
5590
|
-
BamlTy.prototype["void"] = null;
|
|
5591
5590
|
BamlTy.prototype.typeVar = null;
|
|
5592
5591
|
BamlTy.prototype.associatedTypeProjection = null;
|
|
5593
5592
|
BamlTy.prototype.never = null;
|
|
5594
5593
|
let $oneOfFields;
|
|
5595
5594
|
Object.defineProperty(BamlTy.prototype, "ty", {
|
|
5596
|
-
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "
|
|
5595
|
+
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "typeVar", "associatedTypeProjection", "never"]),
|
|
5597
5596
|
set: $util.oneOfSetter($oneOfFields)
|
|
5598
5597
|
});
|
|
5599
5598
|
BamlTy.create = function create(properties) {
|
|
@@ -5701,11 +5700,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5701
5700
|
/* id 19, wireType 2 =*/
|
|
5702
5701
|
154
|
|
5703
5702
|
).fork(), q + 1).ldelim();
|
|
5704
|
-
if (message["void"] != null && Object.hasOwnProperty.call(message, "void"))
|
|
5705
|
-
$root.baml_bridge.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(
|
|
5706
|
-
/* id 20, wireType 2 =*/
|
|
5707
|
-
162
|
|
5708
|
-
).fork(), q + 1).ldelim();
|
|
5709
5703
|
if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar"))
|
|
5710
5704
|
$root.baml_bridge.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(
|
|
5711
5705
|
/* id 22, wireType 2 =*/
|
|
@@ -5815,10 +5809,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
5815
5809
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5816
5810
|
break;
|
|
5817
5811
|
}
|
|
5818
|
-
case 20: {
|
|
5819
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5820
|
-
break;
|
|
5821
|
-
}
|
|
5822
5812
|
case 22: {
|
|
5823
5813
|
message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), void 0, long + 1);
|
|
5824
5814
|
break;
|
|
@@ -6039,16 +6029,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6039
6029
|
return "promptAst." + error;
|
|
6040
6030
|
}
|
|
6041
6031
|
}
|
|
6042
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
6043
|
-
if (properties.ty === 1)
|
|
6044
|
-
return "ty: multiple values";
|
|
6045
|
-
properties.ty = 1;
|
|
6046
|
-
{
|
|
6047
|
-
let error = $root.baml_bridge.cffi.v1.BamlTyVoid.verify(message["void"], long + 1);
|
|
6048
|
-
if (error)
|
|
6049
|
-
return "void." + error;
|
|
6050
|
-
}
|
|
6051
|
-
}
|
|
6052
6032
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
6053
6033
|
if (properties.ty === 1)
|
|
6054
6034
|
return "ty: multiple values";
|
|
@@ -6186,11 +6166,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6186
6166
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.promptAst: object expected");
|
|
6187
6167
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1);
|
|
6188
6168
|
}
|
|
6189
|
-
if (object["void"] != null) {
|
|
6190
|
-
if (!$util.isObject(object["void"]))
|
|
6191
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTy.void: object expected");
|
|
6192
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1);
|
|
6193
|
-
}
|
|
6194
6169
|
if (object.typeVar != null) {
|
|
6195
6170
|
if (!$util.isObject(object.typeVar))
|
|
6196
6171
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeVar: object expected");
|
|
@@ -6311,11 +6286,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
6311
6286
|
if (options.oneofs)
|
|
6312
6287
|
object.ty = "promptAst";
|
|
6313
6288
|
}
|
|
6314
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
6315
|
-
object["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1);
|
|
6316
|
-
if (options.oneofs)
|
|
6317
|
-
object.ty = "void";
|
|
6318
|
-
}
|
|
6319
6289
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
6320
6290
|
object.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1);
|
|
6321
6291
|
if (options.oneofs)
|
|
@@ -10738,88 +10708,6 @@ var baml_bridge = $root.baml_bridge = (() => {
|
|
|
10738
10708
|
};
|
|
10739
10709
|
return BamlTyPromptAst;
|
|
10740
10710
|
})();
|
|
10741
|
-
v1.BamlTyVoid = (function() {
|
|
10742
|
-
function BamlTyVoid(properties) {
|
|
10743
|
-
if (properties) {
|
|
10744
|
-
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10745
|
-
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
10746
|
-
this[keys[i]] = properties[keys[i]];
|
|
10747
|
-
}
|
|
10748
|
-
}
|
|
10749
|
-
BamlTyVoid.create = function create(properties) {
|
|
10750
|
-
return new BamlTyVoid(properties);
|
|
10751
|
-
};
|
|
10752
|
-
BamlTyVoid.encode = function encode(message, writer, q) {
|
|
10753
|
-
if (!writer)
|
|
10754
|
-
writer = $Writer.create();
|
|
10755
|
-
if (q === void 0)
|
|
10756
|
-
q = 0;
|
|
10757
|
-
if (q > $util.recursionLimit)
|
|
10758
|
-
throw Error("max depth exceeded");
|
|
10759
|
-
return writer;
|
|
10760
|
-
};
|
|
10761
|
-
BamlTyVoid.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10762
|
-
return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
|
|
10763
|
-
};
|
|
10764
|
-
BamlTyVoid.decode = function decode(reader, length, error, long) {
|
|
10765
|
-
if (!(reader instanceof $Reader))
|
|
10766
|
-
reader = $Reader.create(reader);
|
|
10767
|
-
if (long === void 0)
|
|
10768
|
-
long = 0;
|
|
10769
|
-
if (long > $Reader.recursionLimit)
|
|
10770
|
-
throw Error("maximum nesting depth exceeded");
|
|
10771
|
-
let end = length === void 0 ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
10772
|
-
while (reader.pos < end) {
|
|
10773
|
-
let tag = reader.uint32();
|
|
10774
|
-
if (tag === error)
|
|
10775
|
-
break;
|
|
10776
|
-
switch (tag >>> 3) {
|
|
10777
|
-
default:
|
|
10778
|
-
reader.skipType(tag & 7, long);
|
|
10779
|
-
break;
|
|
10780
|
-
}
|
|
10781
|
-
}
|
|
10782
|
-
return message;
|
|
10783
|
-
};
|
|
10784
|
-
BamlTyVoid.decodeDelimited = function decodeDelimited(reader) {
|
|
10785
|
-
if (!(reader instanceof $Reader))
|
|
10786
|
-
reader = new $Reader(reader);
|
|
10787
|
-
return this.decode(reader, reader.uint32());
|
|
10788
|
-
};
|
|
10789
|
-
BamlTyVoid.verify = function verify(message, long) {
|
|
10790
|
-
if (typeof message !== "object" || message === null)
|
|
10791
|
-
return "object expected";
|
|
10792
|
-
if (long === void 0)
|
|
10793
|
-
long = 0;
|
|
10794
|
-
if (long > $util.recursionLimit)
|
|
10795
|
-
return "maximum nesting depth exceeded";
|
|
10796
|
-
return null;
|
|
10797
|
-
};
|
|
10798
|
-
BamlTyVoid.fromObject = function fromObject(object, long) {
|
|
10799
|
-
if (object instanceof $root.baml_bridge.cffi.v1.BamlTyVoid)
|
|
10800
|
-
return object;
|
|
10801
|
-
if (!$util.isObject(object))
|
|
10802
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTyVoid: object expected");
|
|
10803
|
-
if (long === void 0)
|
|
10804
|
-
long = 0;
|
|
10805
|
-
if (long > $util.recursionLimit)
|
|
10806
|
-
throw Error("maximum nesting depth exceeded");
|
|
10807
|
-
return new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
10808
|
-
};
|
|
10809
|
-
BamlTyVoid.toObject = function toObject() {
|
|
10810
|
-
return {};
|
|
10811
|
-
};
|
|
10812
|
-
BamlTyVoid.prototype.toJSON = function toJSON() {
|
|
10813
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10814
|
-
};
|
|
10815
|
-
BamlTyVoid.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10816
|
-
if (typeUrlPrefix === void 0) {
|
|
10817
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
10818
|
-
}
|
|
10819
|
-
return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyVoid";
|
|
10820
|
-
};
|
|
10821
|
-
return BamlTyVoid;
|
|
10822
|
-
})();
|
|
10823
10711
|
v1.BamlTyTypeVar = (function() {
|
|
10824
10712
|
function BamlTyTypeVar(properties) {
|
|
10825
10713
|
if (properties) {
|
|
@@ -1046,7 +1046,7 @@ export function __wbg_new_typed_bf31d18f92484486(arg0, arg1) {
|
|
|
1046
1046
|
const a = state0.a;
|
|
1047
1047
|
state0.a = 0;
|
|
1048
1048
|
try {
|
|
1049
|
-
return
|
|
1049
|
+
return __wasm_bindgen_func_elem_44363(a, state0.b, arg0, arg1);
|
|
1050
1050
|
} finally {
|
|
1051
1051
|
state0.a = a;
|
|
1052
1052
|
}
|
|
@@ -1146,13 +1146,13 @@ export function __wbg_value_f3625092ee4b37f4(arg0) {
|
|
|
1146
1146
|
return addHeapObject(ret);
|
|
1147
1147
|
}
|
|
1148
1148
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1149
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1150
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1149
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 7063, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1150
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_44361);
|
|
1151
1151
|
return addHeapObject(ret);
|
|
1152
1152
|
}
|
|
1153
1153
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
1154
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1155
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1154
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 4740, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1155
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_30968);
|
|
1156
1156
|
return addHeapObject(ret);
|
|
1157
1157
|
}
|
|
1158
1158
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -1184,14 +1184,14 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
|
1184
1184
|
export function __wbindgen_object_drop_ref(arg0) {
|
|
1185
1185
|
takeObject(arg0);
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1188
|
-
wasm.
|
|
1187
|
+
function __wasm_bindgen_func_elem_30968(arg0, arg1) {
|
|
1188
|
+
wasm.__wasm_bindgen_func_elem_30968(arg0, arg1);
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
|
-
function
|
|
1191
|
+
function __wasm_bindgen_func_elem_44361(arg0, arg1, arg2) {
|
|
1192
1192
|
try {
|
|
1193
1193
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1194
|
-
wasm.
|
|
1194
|
+
wasm.__wasm_bindgen_func_elem_44361(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1195
1195
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1196
1196
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1197
1197
|
if (r1) {
|
|
@@ -1202,8 +1202,8 @@ function __wasm_bindgen_func_elem_44283(arg0, arg1, arg2) {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
-
function
|
|
1206
|
-
wasm.
|
|
1205
|
+
function __wasm_bindgen_func_elem_44363(arg0, arg1, arg2, arg3) {
|
|
1206
|
+
wasm.__wasm_bindgen_func_elem_44363(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
1209
|
const CancellationWatchFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
|
@@ -57,9 +57,9 @@ export const cancel_function_call: (a: bigint) => number;
|
|
|
57
57
|
export const free_buffer: (a: number) => void;
|
|
58
58
|
export const new_function_call: () => bigint;
|
|
59
59
|
export const release_function_call: (a: bigint) => number;
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
60
|
+
export const __wasm_bindgen_func_elem_44361: (a: number, b: number, c: number, d: number) => void;
|
|
61
|
+
export const __wasm_bindgen_func_elem_44363: (a: number, b: number, c: number, d: number) => void;
|
|
62
|
+
export const __wasm_bindgen_func_elem_30968: (a: number, b: number) => void;
|
|
63
63
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
64
64
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
65
65
|
export const __wbindgen_export3: (a: number) => void;
|