{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/web-wallet-channel/utils.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport function getClientMetadata() {\n\treturn {\n\t\tversion: '1',\n\t\toriginUrl: window.location.href,\n\t\tuserAgent: navigator.userAgent,\n\t\tscreenResolution: `${window.screen.width}x${window.screen.height}`,\n\t\tlanguage: navigator.language,\n\t\tplatform: navigator.platform,\n\t\ttimezone: Intl.DateTimeFormat().resolvedOptions().timeZone,\n\t\ttimestamp: Date.now(),\n\t};\n}\n"],"mappings":";AAGA,SAAgB,oBAAoB;AACnC,QAAO;EACN,SAAS;EACT,WAAW,OAAO,SAAS;EAC3B,WAAW,UAAU;EACrB,kBAAkB,GAAG,OAAO,OAAO,MAAM,GAAG,OAAO,OAAO;EAC1D,UAAU,UAAU;EACpB,UAAU,UAAU;EACpB,UAAU,KAAK,gBAAgB,CAAC,iBAAiB,CAAC;EAClD,WAAW,KAAK,KAAK;EACrB"}