LogoLogo
  • LINE's Mini Dapp & Dapp Portal
    • Join Us
    • How to build successful Mini Dapp
  • Mini Dapp
    • Overview
      • Sample Mini Dapp
    • LINE Integration
      • LINE Developers
      • LINE Front-end Framework (LIFF)
        • Essential Settings
      • Official Account
      • Invite Friends
    • Mini Dapp SDK
      • How to Get SDK Authorization
      • Wallet Provider
      • Payment Provider
        • Settlement
        • Policy
          • Payment
          • Refund
          • Cancellation
        • Flow
      • Release Note
        • v1.2.12
        • v1.2.11
        • v1.2.10
        • v1.2.9
        • v1.2.8
        • v1.2.6
        • v1.2.5
        • v1.2.4
        • v1.2.3
        • v1.2.2
        • v1.2.1
        • v1.2.0
    • Integration Guide for Game Engine
      • for Unity
      • for Cocos Creator
    • Design Guide
  • Dapp Portal
    • Mini Dapp Information
    • Collection & Drops
      • Collection Information
      • Upload NFT Information
      • Drops Information
      • Fungible Token Information
      • How to mint NFT
    • Reward
      • Reward System Flow
      • Launching Promotion
  • Extra Packages
    • Gas Fee Delegation
    • Growth Competition
      • Playbook for Teams
      • Historical Data
  • Review Guidelines
  • Update Note
  • Contact Us
Powered by GitBook
On this page
  • Release Date
  • Note
  1. Mini Dapp
  2. Mini Dapp SDK
  3. Release Note

v1.2.12

PreviousRelease NoteNextv1.2.11

Last updated 16 days ago

Release Date

April 23rd 2025 07:30 in UTC

Note

We strongly recommend upgrading to this version of the Mini Dapp SDK.

npm:

cdn:

Point#1

Fixed issue where the Mini Dapp SDK failed to detect account changes in the OKX Wallet

[Before v1.2.12]

When the user changes the account in the Extension while the OKX Wallet is connected,

  • SDK returns former account when request kaia_accounts() or kaia_requestAccounts()

  • User cannot sign because the connected wallet is different from the wallet address in the signature data

[After v1.2.12]

When the user changes the account in the Extension while the OKX Wallet is connected,

  • SDK returns latter account when request kaia_accounts() or kaia_requestAccounts()

  • User can sign

Point#2 [Action Requried]

Fixed issue whre OKX Wallet is not properly disconnected when requested walletProvider.disconnectWallet()

[Before v1.2.12]

Since there is no way to await for walletProvider.disconnectWallet() to complete, refreshing immediately after requesting disconnectWallet() results in the OKX Wallet connection not being properly disconnected.

[After v1.2.12]

Changed walletProvider.disconnectWallet() as async function

// ASIS
walletProvider.disconnectWallet();
window.location.reload(); // <- Failed to disconnect OKX Wallet

// TOBE
await walletProvider.disconnectWallet();
window.location.reload(); // <- Success to disconnect OKX Wallet

Point#3 [Action Requried]

Fixed error when requested walletProvider.disconnectWallet()

[ASIS]

After requesting walletProvider.disconnectWallet(), the page must be refreshed or the walletProvider needs to be reassigned to a variable in order to be able to select the wallet type again.

[TOBE]

After requesting walletProvider.disconnectWallet(), without any additional implementation, it is possible to select the wallet type again when making a subsequent walletProvider.request({method: "kaia_requestAccounts"}) request.

https://www.npmjs.com/package/@linenext/dapp-portal-sdk/v/1.2.12
https://static.kaiawallet.io/js/dapp-portal-sdk-1.2.12.js