@teamkeel/wasm 0.370.0 → 0.370.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/lib/main.go CHANGED
@@ -207,10 +207,10 @@ func validate(this js.Value, args []js.Value) any {
207
207
  return newPromise(func() (any, error) {
208
208
 
209
209
  schemaFilesArg := args[0].Get("schemaFiles")
210
- schemaFiles := []reader.SchemaFile{}
210
+ schemaFiles := []*reader.SchemaFile{}
211
211
  for i := 0; i < schemaFilesArg.Length(); i++ {
212
212
  f := schemaFilesArg.Index(i)
213
- schemaFiles = append(schemaFiles, reader.SchemaFile{
213
+ schemaFiles = append(schemaFiles, &reader.SchemaFile{
214
214
  FileName: f.Get("filename").String(),
215
215
  Contents: f.Get("contents").String(),
216
216
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/wasm",
3
- "version": "0.370.0",
3
+ "version": "0.370.1",
4
4
  "description": "A wrapper around the Keel WASM binary",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",