mol_vary 0.0.58 → 0.0.60

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/README.md CHANGED
@@ -77,7 +77,7 @@ class Foo {
77
77
  }
78
78
 
79
79
  // Make isolated Vary
80
- const Vary = $mol_vary.room()
80
+ const Vary = $mol_vary.zone()
81
81
 
82
82
  // Add custom type support
83
83
  Vary.type(
package/node.d.ts CHANGED
@@ -561,7 +561,7 @@ declare namespace $ {
561
561
  pack(data: readonly unknown[]): Uint8Array<ArrayBuffer>;
562
562
  take(array: Uint8Array<ArrayBuffer>): unknown;
563
563
  rich_index: Map<string | null, any>;
564
- room(): $mol_vary_class;
564
+ zone(): $mol_vary_class;
565
565
  rich_node(keys: readonly string[]): Map<string | null, any>;
566
566
  lean_find(val: any): any;
567
567
  type<const Instance extends object, const Keys extends readonly any[], const Vals extends readonly any[]>({ type, keys, rich, lean }: {
package/node.js CHANGED
@@ -2823,7 +2823,7 @@ var $;
2823
2823
  rich_index = new Map([
2824
2824
  [null, () => ({})]
2825
2825
  ]);
2826
- room() {
2826
+ zone() {
2827
2827
  const room = new $mol_vary_class;
2828
2828
  Object.setPrototypeOf(room, this);
2829
2829
  const index_clone = (map) => new Map([...map].map(([k, v]) => [k, k === null ? v : index_clone(v)]));