@margoengine/voxel 0.1.0 → 1.0.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.
@@ -104,8 +104,10 @@ var i = (e) => e < 0 ? -2 * e - 1 : 2 * e, a = (e) => e % 2 ? -(e + 1) / 2 : e /
104
104
  ]
105
105
  }, l = /* @__PURE__ */ new Map();
106
106
  async function u(e, t) {
107
+ let n = new Blob([e]).stream().pipeThrough(new DecompressionStream(t)).getReader();
107
108
  try {
108
- return await new Response(new Blob([e]).stream().pipeThrough(new DecompressionStream(t))).arrayBuffer(), !0;
109
+ for (; !(await n.read()).done;);
110
+ return !0;
109
111
  } catch {
110
112
  return !1;
111
113
  }
package/dist/codec.js CHANGED
@@ -1 +1 @@
1
- export { t as EntityCodec, n as applyBlockChanges, r as decodeBlockChanges, i as decodeChunk, a as encodeBlockChanges, o as encodeChunk } from "./codec-ZZFj1xvt.js";
1
+ export { t as EntityCodec, n as applyBlockChanges, r as decodeBlockChanges, i as decodeChunk, a as encodeBlockChanges, o as encodeChunk } from "./codec-BmXhcsFt.js";
package/dist/fluids.js CHANGED
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { i as e } from "./blocks-BabtpQT-.js";
@@ -39,7 +39,7 @@ var n = 8, r = [
39
39
  #o;
40
40
  #s;
41
41
  #c = !1;
42
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
42
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
43
43
  return new n(e, t);
44
44
  }
45
45
  constructor(e, t) {
package/dist/gi.js CHANGED
@@ -1,6 +1,6 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
- const i=(engine,version="0.1.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
3
+ const i=(engine,version="1.0.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
4
4
  import { t as e } from "./unit-light-Ch7roJgB.js";
5
5
  import { n as t, r as n } from "./origin-DsMelUxs.js";
6
6
  import { MargoError as r } from "@margoengine/math/errors";
@@ -62,7 +62,7 @@ fn voxelGiSun(p:vec3f,n:vec3f)->f32 {
62
62
  };
63
63
  this.#h.push(this.world.onChange(n), this.world.onChunk(n));
64
64
  }
65
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
65
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
66
66
  if (typeof e?.createMesh != "function") throw TypeError("VoxelGI.attach expects an Engine");
67
67
  if (typeof t?.world?.getChunk != "function" || typeof t.world.onChange != "function") throw TypeError("VoxelGI world must be a VoxelWorld");
68
68
  let n = (e, n, r, i = !1) => {
@@ -3,6 +3,10 @@ import type { GranularMpmParams, GranularMpmSolver } from '@margoengine/physics/
3
3
  // @ts-ignore optional peer: its types apply when it is installed
4
4
  import type { Cell, PhysicsWorld } from '@margoengine/physics/world';
5
5
  import { type VoxelWorld } from './world.js';
6
+ /**
7
+ * One voxel that becomes granular material: its position in voxel coordinates, the expected block ID and the
8
+ * material table index (default 0).
9
+ */
6
10
  export interface VoxelGranularCell {
7
11
  /** Position of a loaded, solid cube in voxel coordinates. */
8
12
  readonly position: Cell;
@@ -11,6 +15,10 @@ export interface VoxelGranularCell {
11
15
  /** Index into the solver material table. Defaults to 0. */
12
16
  readonly material?: number;
13
17
  }
18
+ /**
19
+ * Options for turning voxels into granular points: the cells, voxel side in metres (default 1), samples per axis
20
+ * (default 2), voxel origin, physics cell and solver parameters.
21
+ */
14
22
  export interface VoxelGranularOptions {
15
23
  readonly cells: readonly VoxelGranularCell[];
16
24
  /** Side length of a voxel, metres. Defaults to 1. */
package/dist/light-rgb.js CHANGED
@@ -1,6 +1,6 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
- const c=(engine,version="0.1.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
3
+ const c=(engine,version="1.0.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
4
4
  import { t as e } from "./blocks-BabtpQT-.js";
5
5
  import { n as t } from "./chunk-BCoaKSn4.js";
6
6
  import { n, t as r } from "./world-CelTlft2.js";
@@ -40,7 +40,7 @@ fn voxelRgbLight(p:vec3f,n:vec3f,base:vec3f)->vec3f {
40
40
  #s;
41
41
  #c = /* @__PURE__ */ new Map();
42
42
  #l = !1;
43
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
43
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
44
44
  return new p(e, t);
45
45
  }
46
46
  constructor(a, o) {
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { l as e } from "./chunk-BCoaKSn4.js";
@@ -19,7 +19,7 @@ var i = /* @__PURE__ */ new WeakSet(), a = class a {
19
19
  #u;
20
20
  #d = [];
21
21
  #f = !1;
22
- static attach(e, t = {}) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
22
+ static attach(e, t = {}) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
23
23
  return new a(e, t);
24
24
  }
25
25
  constructor(e, t) {
package/dist/light.js CHANGED
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { i as e, r as t } from "./octants-C_Ic7gdn.js";
@@ -29,7 +29,7 @@ var o = 15, s = -32768, c = 8192, l = (1 << 27) - 1, u = [
29
29
  for (let e = 0; e < 3; e++) for (let t = 0; t < 3; t++) for (let n = 0; n < 3; n++) a >> e & o >> t & s >> n & 1 && (l |= 1 << e + 3 * t + 9 * n);
30
30
  return l;
31
31
  }, x = class o {
32
- static attach(e, t = {}) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
32
+ static attach(e, t = {}) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
33
33
  return new o(e, t);
34
34
  }
35
35
  constructor(e, t) {
package/dist/objects.js CHANGED
@@ -1,6 +1,6 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
- const a=(engine,version="0.1.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
3
+ const a=(engine,version="1.0.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
4
4
  import { i as e } from "./blocks-BabtpQT-.js";
5
5
  import { n as t } from "./world-CelTlft2.js";
6
6
  import { n, t as r } from "./origin-DsMelUxs.js";
@@ -16,7 +16,7 @@ var c = (e) => [
16
16
  e.y,
17
17
  e.z
18
18
  ], l = class e {
19
- static attach(t, n, r = {}) {__margoAssertCore(t,__margoCoreRequirement("0.1.0",import.meta.url));
19
+ static attach(t, n, r = {}) {__margoAssertCore(t,__margoCoreRequirement("1.0.0",import.meta.url));
20
20
  return new e(t, n, r);
21
21
  }
22
22
  constructor(e, n, i = {}) {
package/dist/render.js CHANGED
@@ -1,6 +1,6 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
- const f=(engine,version="0.1.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
3
+ const f=(engine,version="1.0.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
4
4
  import { c as e } from "./chunk-BCoaKSn4.js";
5
5
  import { n as t, r as n } from "./worker-pool-sPyC6jCE.js";
6
6
  import { r, t as i } from "./faces-DUR7LhrN.js";
@@ -394,7 +394,7 @@ fn direct_light(s:Surface,v:vec3f,l:vec3f)->vec3f {
394
394
  let nl=clamp(dot(s.n,l),0.0,1.0);let nv=clamp(dot(s.n,v),0.0001,1.0);let nh=clamp(dot(s.n,h),0.0,1.0);let vh=clamp(dot(v,h),0.0,1.0);
395
395
  let a=s.roughness*s.roughness;let a2=a*a;let d=${/* @__PURE__ */ x("s.n", "h")};
396
396
  let g=${S};
397
- let base=s.base.rgb;let metal=s.metal;let dielectricF0=vec3f(0.04);let dielectricF90=1.0;let f0=mix(dielectricF0,base,metal);let fresnel=f0+(1.0-f0)*pow(1.0-vh,5.0);
397
+ let base=s.base.rgb;let metal=s.metal;const dielectricF0=vec3f(0.04);const dielectricF90=1.0;let f0=mix(dielectricF0,base,metal);let fresnel=f0+(1.0-f0)*pow(1.0-vh,5.0);
398
398
  return ${b}*nl*f.radiance.rgb*f.light.w;
399
399
  }
400
400
  `, W = "\n i.position-=f.shift.xyz;\n let tc=unpack4x8unorm(m.y).rgb;let tint=select(tc/12.92,pow((tc+0.055)/1.055,vec3f(2.4)),tc>vec3f(0.04045));\n let texel=textureSampleGrad(voxelTextures,voxelSampler,uv,voxelLayer(m,f.time),dx,dy);\n var s:Surface;s.base=vec4f(texel.rgb*tint,select(texel.a,1.0,(m.x&4194304u)!=0u));\n if(MODE==1u&&s.base.a<0.5){discard;}\n s.n=normal;s.roughness=clamp(f32(m.z&255u)/255.0,0.045,1.0);s.metal=f32((m.z>>8u)&255u)/255.0;\n let nLayer=maps.x&2047u;if(nLayer!=0u){s.n=voxelNormal(normal,tangent,textureSampleGrad(voxelTextures,voxelSampler,uv,nLayer,dx,dy).rgb*2.0-1.0);}\n let rLayer=(maps.x>>11u)&2047u;if(rLayer!=0u){s.roughness=clamp(textureSampleGrad(voxelTextures,voxelSampler,uv,rLayer,dx,dy).r,0.045,1.0);}\n let eLayer=maps.z&2047u;var eMap=1.0;if(eLayer!=0u){eMap=textureSampleGrad(voxelTextures,voxelSampler,uv,eLayer,dx,dy).r;}\n\n\n\n\n let sky=clamp(lit.y,0.0,15.0);let block=clamp(lit.z,0.0,15.0);\n let lightness=vec2f(sky,block)*100.0/15.0;let cube=(lightness+16.0)/116.0;\n let brightness=select(lightness*(27.0/24389.0),cube*cube*cube,lightness>vec2f(8.0));let skyLight=brightness.x;\n let ao=0.4+0.2*lit.x;\n s.occlusion=ao*(0.03+skyLight*f.ambient.w);\n s.emissive=s.base.rgb*(bitcast<f32>(m.w)*eMap+brightness.y*ao*f.glow.rgb);\n let v=normalize(f.eye.xyz-i.position);let lightDirection=f.light.xyz;\n let direct=direct_light(s,v,lightDirection)*voxelSun(i.position,skyLight);\n var color=direct+ambient(s)+s.emissive;\n if(f.settings.w<0.5) {color=toDisplay(color);}\n if(MODE==3u){let through=f32((maps.z>>11u)&255u)/255.0*(1.0-bitcast<f32>(maps.y)*0.5);let alpha=s.base.a*(1.0-through*0.85);return vec4f((color*(1.0-through)+s.base.rgb*through)*alpha,alpha);}\n return vec4f(color,select(1.0,(s.base.a-0.5)/max(fwidth(s.base.a),0.0001)+0.5,MODE==2u));\n}", G = `${U}${V}
@@ -518,7 +518,7 @@ function De(e, t, n, r = Te, i = !1) {
518
518
  var $ = (e, t, n) => {
519
519
  if (typeof e != "number") throw TypeError(`VoxelRenderer ${t} must be a number; ${n}`);
520
520
  return e;
521
- }, Oe = class t {coreRequirement=__margoCoreRequirement("0.1.0",import.meta.url);
521
+ }, Oe = class t {coreRequirement=__margoCoreRequirement("1.0.0",import.meta.url);
522
522
  #e;
523
523
  #t;
524
524
  #n;
@@ -632,7 +632,7 @@ var $ = (e, t, n) => {
632
632
  if (this.#c = l, this.lightmap = u, this.daylight = s, i !== void 0 && (typeof i?.mesh != "function" || typeof i.cancel != "function" || typeof i.dispose != "function")) throw TypeError("VoxelRenderer mesher needs mesh, cancel and dispose; pass a GpuVoxelMesher or VoxelMesher");
633
633
  this.#i = !i, this.#r = i ?? new a(r === void 0 ? {} : { workers: r });
634
634
  }
635
- static attach(e, n) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
635
+ static attach(e, n) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
636
636
  let r = new t(n);
637
637
  try {
638
638
  f(e).use(r);
@@ -1520,7 +1520,7 @@ var $ = (e, t, n) => {
1520
1520
  n.bundle = i.finish(), n.bundleKey = r;
1521
1521
  }
1522
1522
  #Ie(e) {
1523
- let t = e.encoder.beginRenderPass({
1523
+ let t = e.descriptor.depthStencil.format.includes("stencil"), n = e.encoder.beginRenderPass({
1524
1524
  colorAttachments: [{
1525
1525
  view: e.color,
1526
1526
  loadOp: "load",
@@ -1530,10 +1530,13 @@ var $ = (e, t, n) => {
1530
1530
  view: e.depth,
1531
1531
  depthLoadOp: "load",
1532
1532
  depthStoreOp: "store",
1533
- stencilReadOnly: !0
1533
+ ...t ? {
1534
+ stencilLoadOp: "load",
1535
+ stencilStoreOp: "store"
1536
+ } : {}
1534
1537
  }
1535
1538
  });
1536
- return D(t, e), t;
1539
+ return D(n, e), n;
1537
1540
  }
1538
1541
  #Le(e, t) {
1539
1542
  e.setVertexBuffer(0, t.vertices), e.setVertexBuffer(1, this.#p.origins, t.slot * 16, 16), e.setIndexBuffer(t.index, "uint32"), e.drawIndexed(t.count);
@@ -1,44 +1,44 @@
1
- /** A caller's GPU object, or a function that makes one for a device. */
2
- export type Borrowable<T> = T | ((device: GPUDevice) => T);
3
-
4
- /** State kept for one borrowed option; owners do not read its fields. */
5
- export interface BorrowSlot<T, V = Borrowable<T>> {
6
- value: V | null | undefined;
7
- device: GPUDevice | null | undefined;
8
- made: T | undefined;
9
- told: boolean;
10
- readonly name: string;
11
- readonly setter: string;
12
- }
13
-
14
- /** Puts `value` in `slot`; a plain object belongs to `device` (undefined: the device of its first `lend`). */
15
- export function relend<T, V = Borrowable<T>>(
16
- slot: BorrowSlot<T, V>,
17
- value: V | null | undefined,
18
- device?: GPUDevice | null,
19
- ): BorrowSlot<T, V>;
20
-
21
- /** Fixes the device a plain object given before attach belongs to; owners call it from `setup`. */
22
- export function fix<T, V>(slot: BorrowSlot<T, V>, device: GPUDevice | null): void;
23
-
24
- /** A slot for an option that takes a caller's GPU object or `(device) => object`, named for its one report. */
25
- export function borrow<T, V = Borrowable<T>>(
26
- value: V | null | undefined,
27
- name: string,
28
- setter: string,
29
- device?: GPUDevice | null,
30
- ): BorrowSlot<T, V>;
31
-
32
- /**
33
- * What to bind on `device`: the function's result (made once per device), the plain object while its device is the
34
- * one in use, else undefined, reported once through `engine.onError` as a `'state'` MargoError linking to
35
- * margoengine.com/errors#borrowed-lost.
36
- */
37
- export function lend<T, V>(
38
- slot: BorrowSlot<T, V>,
39
- device: GPUDevice,
40
- engine?: { onError(error: unknown): void },
41
- ): T | undefined;
42
-
43
- /** True for an option object the caller wrote (a plain object), false for a GPU object or any class instance. */
44
- export function isOptionObject(value: unknown): value is Record<string, unknown>;
1
+ /** A caller's GPU object, or a function that makes one for a device. */
2
+ export type Borrowable<T> = T | ((device: GPUDevice) => T);
3
+
4
+ /** State kept for one borrowed option; owners do not read its fields. */
5
+ export interface BorrowSlot<T, V = Borrowable<T>> {
6
+ value: V | null | undefined;
7
+ device: GPUDevice | null | undefined;
8
+ made: T | undefined;
9
+ told: boolean;
10
+ readonly name: string;
11
+ readonly setter: string;
12
+ }
13
+
14
+ /** Puts `value` in `slot`; a plain object belongs to `device` (undefined: the device of its first `lend`). */
15
+ export function relend<T, V = Borrowable<T>>(
16
+ slot: BorrowSlot<T, V>,
17
+ value: V | null | undefined,
18
+ device?: GPUDevice | null,
19
+ ): BorrowSlot<T, V>;
20
+
21
+ /** Fixes the device a plain object given before attach belongs to; owners call it from `setup`. */
22
+ export function fix<T, V>(slot: BorrowSlot<T, V>, device: GPUDevice | null): void;
23
+
24
+ /** A slot for an option that takes a caller's GPU object or `(device) => object`, named for its one report. */
25
+ export function borrow<T, V = Borrowable<T>>(
26
+ value: V | null | undefined,
27
+ name: string,
28
+ setter: string,
29
+ device?: GPUDevice | null,
30
+ ): BorrowSlot<T, V>;
31
+
32
+ /**
33
+ * What to bind on `device`: the function's result (made once per device), the plain object while its device is the
34
+ * one in use, else undefined, reported once through `engine.onError` as a `'state'` MargoError linking to
35
+ * margoengine.com/errors#borrowed-lost.
36
+ */
37
+ export function lend<T, V>(
38
+ slot: BorrowSlot<T, V>,
39
+ device: GPUDevice,
40
+ engine?: { onError(error: unknown): void },
41
+ ): T | undefined;
42
+
43
+ /** True for an option object the caller wrote (a plain object), false for a GPU object or any class instance. */
44
+ export function isOptionObject(value: unknown): value is Record<string, unknown>;
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { n as e, t } from "./origin-DsMelUxs.js";
@@ -877,7 +877,7 @@ var T = class i {
877
877
  constructor(e, n) {
878
878
  this.#e = e, this.terrain = n.terrain, this.origin = t(n.origin, "SmoothTerrainView"), this.#t = n.materials ?? [], this.#n = n.createMesh, this.#r = n.budget ?? 4, this.#i = C(n, "SmoothTerrainView");
879
879
  }
880
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
880
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
881
881
  if (typeof e?.createMesh != "function") throw TypeError("SmoothTerrainView.attach expects an Engine");
882
882
  if (!(t?.terrain instanceof _)) throw TypeError("SmoothTerrainView terrain must be a SmoothTerrain");
883
883
  if (t.createMesh !== void 0 && typeof t.createMesh != "function") throw TypeError("SmoothTerrainView createMesh must be a function (part, material, origin) => mesh");
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { n as e, t } from "./origin-DsMelUxs.js";
@@ -98,7 +98,7 @@ var u = class n {
98
98
  scale: 2 ** (t + 1)
99
99
  })), this.#l = this.levels.map(() => /* @__PURE__ */ new Map());
100
100
  }
101
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
101
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
102
102
  if (typeof e?.createMesh != "function") throw TypeError("SmoothLod.attach expects an Engine");
103
103
  if (!t || typeof t != "object") throw TypeError("SmoothLod expects {terrain, density, materials}");
104
104
  if (!(t.terrain instanceof r)) throw TypeError("SmoothLod terrain must be a SmoothTerrain");
package/dist/stream.js CHANGED
@@ -1,9 +1,9 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { n as e } from "./chunk-BCoaKSn4.js";
5
5
  import { n as t, t as n } from "./world-CelTlft2.js";
6
- import { i as r, o as i } from "./codec-ZZFj1xvt.js";
6
+ import { i as r, o as i } from "./codec-BmXhcsFt.js";
7
7
  import { t as a } from "./worker-pool-sPyC6jCE.js";
8
8
  import { noiseTerrain as o } from "./generate.js";
9
9
  import { MargoError as s } from "@margoengine/math/errors";
@@ -152,11 +152,11 @@ var c = (e, t, n) => {
152
152
  #A;
153
153
  #j;
154
154
  #M;
155
- static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("0.1.0",import.meta.url));
155
+ static attach(e, t) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
156
156
  let n = new r(t), i = `voxel-streamer-${++_}`;
157
157
  n.#s = e.camera, n.#c = e, n.onError = (t) => e.onError(t);
158
158
  try {
159
- let t = {coreRequirement:/*@__PURE__*/__margoCoreRequirement("0.1.0",import.meta.url),
159
+ let t = {coreRequirement:/*@__PURE__*/__margoCoreRequirement("1.0.0",import.meta.url),
160
160
  name: i,
161
161
  setup() {},
162
162
  onPreUpdate: () => n.update(),
package/dist/ticks.js CHANGED
@@ -1,4 +1,4 @@
1
- // @margo/core-built 0.1.0
1
+ // @margo/core-built 1.0.0
2
2
  import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
3
3
 
4
4
  import { i as e } from "./blocks-BabtpQT-.js";
@@ -53,7 +53,7 @@ var n = (e, t, n, r) => {
53
53
  #u;
54
54
  #d;
55
55
  #f = !1;
56
- static attach(t, n = {}) {__margoAssertCore(t,__margoCoreRequirement("0.1.0",import.meta.url));
56
+ static attach(t, n = {}) {__margoAssertCore(t,__margoCoreRequirement("1.0.0",import.meta.url));
57
57
  return new e(t, n);
58
58
  }
59
59
  constructor(e, t) {