@canton-network/core-wallet-ui-components 0.18.1 → 0.19.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.
@@ -1,8 +1,3 @@
1
1
  import { DiscoverResult, GatewaysConfig } from '@canton-network/core-types';
2
- export declare class WindowState {
3
- private static instance;
4
- private constructor();
5
- static getInstance(): Window;
6
- }
7
2
  export declare function discover(verifiedGateways: GatewaysConfig[]): Promise<DiscoverResult>;
8
3
  //# sourceMappingURL=discovery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/windows/discovery.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAI3E,qBAAa,WAAW;IACpB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAyB;IAEhD,OAAO;IACP,MAAM,CAAC,WAAW;CAYrB;AAED,wBAAsB,QAAQ,CAC1B,gBAAgB,EAAE,cAAc,EAAE,GACnC,OAAO,CAAC,cAAc,CAAC,CAkCzB"}
1
+ {"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/windows/discovery.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAI3E,wBAAsB,QAAQ,CAC1B,gBAAgB,EAAE,cAAc,EAAE,GACnC,OAAO,CAAC,cAAc,CAAC,CAoCzB"}
@@ -10,7 +10,14 @@ interface StyledElement {
10
10
  new (): HTMLElement;
11
11
  styles: string;
12
12
  }
13
- export declare function popup(component: StyledElement, options?: PopupOptions): Promise<Window>;
14
- export declare function popupHref(url: URL | string): Promise<Window>;
13
+ declare class PopupInstance {
14
+ static getInstance(): Window;
15
+ constructor();
16
+ open(url: string | URL): WindowProxy;
17
+ open(component: StyledElement, options?: PopupOptions): WindowProxy;
18
+ close(): void;
19
+ private getComponentUrl;
20
+ }
21
+ export declare const popup: PopupInstance;
15
22
  export {};
16
23
  //# sourceMappingURL=popup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/windows/popup.ts"],"names":[],"mappings":"AAKA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,aAAa;IACnB,QAAQ,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,KAAK,CACjB,SAAS,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,YAAY,GACvB,OAAO,CAAC,MAAM,CAAC,CAuDjB;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAY5D"}
1
+ {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/windows/popup.ts"],"names":[],"mappings":"AAGA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,aAAa;IACnB,QAAQ,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAID,cAAM,aAAa;IACf,MAAM,CAAC,WAAW;;IAwBlB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,WAAW;IACpC,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,WAAW;IAsBnE,KAAK;IAKL,OAAO,CAAC,eAAe;CAqD1B;AAED,eAAO,MAAM,KAAK,eAAsB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canton-network/core-wallet-ui-components",
3
- "version": "0.18.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "description": "Reusable UI components for the Splice wallet",
6
6
  "license": "Apache-2.0",
@@ -27,25 +27,25 @@
27
27
  "dev": "storybook dev -p 6006"
28
28
  },
29
29
  "devDependencies": {
30
- "@storybook/web-components-vite": "^10.1.0",
30
+ "@storybook/web-components-vite": "^10.1.11",
31
31
  "@types/bootstrap": "^5.2.10",
32
32
  "@types/fs-extra": "^11.0.4",
33
- "fs-extra": "^11.3.2",
34
- "storybook": "^10.1.10",
35
- "tsx": "^4.20.6",
33
+ "fs-extra": "^11.3.3",
34
+ "storybook": "^10.1.11",
35
+ "tsx": "^4.21.0",
36
36
  "typescript": "^5.9.3",
37
- "vite": "^7.2.4",
37
+ "vite": "^7.3.1",
38
38
  "vite-plugin-dts": "^4.5.4"
39
39
  },
40
40
  "packageManager": "yarn@4.9.4",
41
41
  "dependencies": {
42
- "@canton-network/core-types": "^0.15.1",
43
- "@canton-network/core-wallet-auth": "^0.16.1",
44
- "@canton-network/core-wallet-store": "^0.18.1",
45
- "@canton-network/core-wallet-user-rpc-client": "^0.18.1",
42
+ "@canton-network/core-types": "^0.16.0",
43
+ "@canton-network/core-wallet-auth": "^0.17.0",
44
+ "@canton-network/core-wallet-store": "^0.19.0",
45
+ "@canton-network/core-wallet-user-rpc-client": "^0.19.0",
46
46
  "@popperjs/core": "^2.11.8",
47
47
  "bootstrap": "^5.3.8",
48
- "lit": "^3.3.1"
48
+ "lit": "^3.3.2"
49
49
  },
50
50
  "files": [
51
51
  "dist/**",