Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@line/liff-main-profile-plugin
Advanced tools
A LIFF Plugin to get and auto-fill forms _main profile data_ from Account Center.
A LIFF Plugin to get and auto-fill forms main profile data from Account Center.
CDN versions of packages can be imported using the script tag as shown below.
index.html
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/src/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- beta -->
<script src="https://line-objects-internal.com/v2-assets-4/liff-main-profile/edge/beta/0.0.1/index.umd.cjs"></script>
<title>LIFF App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.js"></script>
</body>
</html>
The package is then defined in the global object with the name liffMainProfile
.
So you can use the package as a LIFF Plugin as follows in the js/ts file.
index.js
liff.use(new liffMainProfile.LiffMainProfilePlugin());
await liff.init({ liffId: "xxx" });
const profile = await liff.$mainProfile.get();
liff.$mainProfile.fill(profile);
npm install @linecorp/liff-main-profile-plugin`
import { LiffMainProfilePlugin } from "@linecorp/liff-main-profile-plugin";
liff.use(new LiffMainProfilePlugin());
await liff.init({ liffId: "xxx" });
const profile = await liff.$mainProfile.get();
liff.$mainProfile.fill(profile);
Dashboard: https://orth.linecorp.com/project/liff-main-profile
env | url |
---|---|
Beta | https://line-objects-internal.com/v2-assets-4/liff-main-profile/edge/beta/0.0.1/index.umd.cjs |
RC | TBD |
Real | TBD |
Dashboard: https://npm.linecorp.com/-/package/@linecorp/liff-main-profile-plugin
env | npm |
---|---|
Beta | npm install @linecorp/liff-main-profile-plugin@beta |
RC | TBD |
Real | TBD |
nvm use
npm i
A pull request for merging into deployment/beta is automatically generated.
TBD
TBD
FAQs
A LIFF Plugin to get and auto-fill forms _main profile data_ from Account Center.
The npm package @line/liff-main-profile-plugin receives a total of 13 weekly downloads. As such, @line/liff-main-profile-plugin popularity was classified as not popular.
We found that @line/liff-main-profile-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.