@nil-/xit 0.1.25 → 0.1.27

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/assets/index.js CHANGED
@@ -2870,7 +2870,9 @@ const protobufjs = /* @__PURE__ */ getDefaultExportFromCjs(light), proto_data =
2870
2870
  frame_ui: f,
2871
2871
  frame: a,
2872
2872
  resub: () => t.start(),
2873
- unsub: () => t.stop()
2873
+ unsub: () => t.stop(),
2874
+ id: e,
2875
+ tag: n
2874
2876
  });
2875
2877
  const { destroy: m } = h(c, p);
2876
2878
  return {
package/index.d.ts CHANGED
@@ -36,13 +36,15 @@ export type Frame = {
36
36
  export type Context = {
37
37
  values: Values;
38
38
  signals: Signals;
39
- frame_ui: (f: string, tag?: string) => Promise<Action<HTMLDivElement>>;
39
+ frame_ui: (f: string, tag?: string) => Promise<Action<HTMLElement>>;
40
40
  frame: (f: string, tag?: string) => Promise<Frame>;
41
41
  resub: () => void;
42
42
  unsub: () => void;
43
+ id: string;
44
+ tag: string | null;
43
45
  };
44
46
  export declare const json_string: {
45
- encode: <T>(o: T) => Uint8Array;
46
- decode: <T>(o: Uint8Array) => T;
47
+ encode: (o: any) => Uint8Array;
48
+ decode: (o: Uint8Array) => any;
47
49
  };
48
50
  export declare const xit: () => Context;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nil-/xit",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",