@canton-network/core-wallet-ui-components 0.18.0 → 0.18.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.
@@ -1,3 +1,8 @@
1
1
  import { DiscoverResult, GatewaysConfig } from '@canton-network/core-types';
2
- export declare function discover(config: GatewaysConfig[]): Promise<DiscoverResult>;
2
+ export declare class WindowState {
3
+ private static instance;
4
+ private constructor();
5
+ static getInstance(): Window;
6
+ }
7
+ export declare function discover(verifiedGateways: GatewaysConfig[]): Promise<DiscoverResult>;
3
8
  //# 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,wBAAsB,QAAQ,CAC1B,MAAM,EAAE,cAAc,EAAE,GACzB,OAAO,CAAC,cAAc,CAAC,CAwCzB"}
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"}
@@ -11,6 +11,6 @@ interface StyledElement {
11
11
  styles: string;
12
12
  }
13
13
  export declare function popup(component: StyledElement, options?: PopupOptions): Promise<Window>;
14
- export declare function popupHref(url: URL | string, options?: PopupOptions): Promise<Window>;
14
+ export declare function popupHref(url: URL | string): Promise<Window>;
15
15
  export {};
16
16
  //# sourceMappingURL=popup.d.ts.map
@@ -1 +1 @@
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;AAED,wBAAgB,KAAK,CACjB,SAAS,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,YAAY,GACvB,OAAO,CAAC,MAAM,CAAC,CA6EjB;AAED,wBAAgB,SAAS,CACrB,GAAG,EAAE,GAAG,GAAG,MAAM,EACjB,OAAO,CAAC,EAAE,YAAY,GACvB,OAAO,CAAC,MAAM,CAAC,CAuBjB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canton-network/core-wallet-ui-components",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "type": "module",
5
5
  "description": "Reusable UI components for the Splice wallet",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "@types/bootstrap": "^5.2.10",
32
32
  "@types/fs-extra": "^11.0.4",
33
33
  "fs-extra": "^11.3.2",
34
- "storybook": "^10.1.0",
34
+ "storybook": "^10.1.10",
35
35
  "tsx": "^4.20.6",
36
36
  "typescript": "^5.9.3",
37
37
  "vite": "^7.2.4",
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "packageManager": "yarn@4.9.4",
41
41
  "dependencies": {
42
- "@canton-network/core-types": "^0.15.0",
43
- "@canton-network/core-wallet-auth": "^0.16.0",
44
- "@canton-network/core-wallet-store": "^0.18.0",
45
- "@canton-network/core-wallet-user-rpc-client": "^0.18.0",
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",
46
46
  "@popperjs/core": "^2.11.8",
47
47
  "bootstrap": "^5.3.8",
48
48
  "lit": "^3.3.1"