reykit 1.0.141 → 1.0.142
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/index.js +1 -1
- package/dist/src/image.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49455,7 +49455,7 @@ async function SI(a, i, u) {
|
|
|
49455
49455
|
const EI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
49456
49456
|
__proto__: null,
|
|
49457
49457
|
downloadQrcode: xI,
|
|
49458
|
-
|
|
49458
|
+
getQrcodeUrl: SI,
|
|
49459
49459
|
openQrcode: bI
|
|
49460
49460
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
49461
49461
|
async function RI(a, i) {
|
package/dist/src/image.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare function downloadQrcode(text: string, fileName?: string): Promise
|
|
|
27
27
|
* @param options.margin - Number of margin blank square.
|
|
28
28
|
* @returns QR code URL.
|
|
29
29
|
*/
|
|
30
|
-
export declare function
|
|
30
|
+
export declare function getQrcodeUrl(text: string, element?: HTMLElement | string, options?: {
|
|
31
31
|
width?: number;
|
|
32
32
|
margin?: number;
|
|
33
33
|
}): Promise<string>;
|