@txnlab/use-wallet-ui-react 1.2.0 → 1.2.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.
package/dist/style.css CHANGED
@@ -57,6 +57,10 @@
57
57
  max-width: 100%;
58
58
  height: auto;
59
59
  }
60
+ [data-wallet-ui] [role="dialog"] svg, [data-wallet-ui] [role="menu"] svg, [data-wallet-ui] [role="listbox"] svg {
61
+ display: block;
62
+ vertical-align: middle;
63
+ }
60
64
  [data-wallet-theme] {
61
65
  --wui-color-primary: #2d2df1;
62
66
  --wui-color-primary-hover: #2929d9;
@@ -1 +1 @@
1
- {"version":3,"file":"PluginLifecycleManager.d.ts","sourceRoot":"","sources":["../../../src/plugins/PluginLifecycleManager.tsx"],"names":[],"mappings":"AA4BA;;;;;;GAMG;AACH,wBAAgB,sBAAsB,SAgDrC"}
1
+ {"version":3,"file":"PluginLifecycleManager.d.ts","sourceRoot":"","sources":["../../../src/plugins/PluginLifecycleManager.tsx"],"names":[],"mappings":"AA4BA;;;;;;GAMG;AACH,wBAAgB,sBAAsB,SAoDrC"}
@@ -1,9 +1,14 @@
1
+ /**
2
+ * Extract the resource path after `ipfs://` or after `/ipfs/` in an HTTP(S) gateway URL.
3
+ * Used so HTTPS gateway links get the same NFD and HEAD checks as `ipfs://` URLs.
4
+ */
5
+ export declare function extractIpfsResourcePath(url: string): string | null;
1
6
  /**
2
7
  * Check availability of an IPFS resource and return appropriate URL
3
8
  * Tries images.nf.domains first, falls back to IPFS gateway
4
9
  * Only returns URLs for image content types
5
10
  *
6
- * @param url - IPFS URL to check
11
+ * @param url - `ipfs://` URL or HTTPS URL whose path contains `/ipfs/...`
7
12
  * @returns URL to use (either images.nf.domains or fallback gateway)
8
13
  */
9
14
  export declare const checkIpfsAvailability: (url: string) => Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"ipfs.d.ts","sourceRoot":"","sources":["../../../src/utils/ipfs.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,MAAM,CAgGvE,CAAA"}
1
+ {"version":3,"file":"ipfs.d.ts","sourceRoot":"","sources":["../../../src/utils/ipfs.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAqBlE;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,MAAM,CAgFvE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@txnlab/use-wallet-ui-react",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "React components for use-wallet UI",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.cjs",
@@ -101,6 +101,6 @@
101
101
  "vite": "6.4.2",
102
102
  "vite-plugin-dts": "4.5.4",
103
103
  "vite-tsconfig-paths": "5.1.4",
104
- "vitest": "3.2.4"
104
+ "vitest": "3.2.6"
105
105
  }
106
106
  }