Skip to content

Releases: BringID/bringid

0.6.0-beta

20 Mar 10:56
1e5aa83

Choose a tag to compare

  • Breaking: BringID constructor mode option replaced by chainId — use chainId: 8453 for production (Base mainnet) or chainId: 84532 for dev (Base Sepolia). Throws if an unsupported chain ID is provided.
  • Removed debug console.log statements from verifyHumanity and useMessageProxy

0.5.3-beta

08 Mar 16:25
e9d097b

Choose a tag to compare

  • Added redirectUrl constructor option — passed URL-encoded to the widget via postMessage for OAuth/mini-app redirect flows
  • Added mini-app detection: isInMiniApp() checks whether the SDK is running inside a mini-app (cached after first call) and passes isMiniApp flag to the widget on each verifyHumanity call
  • useMessageProxy now handles OPEN_EXTERNAL_URL messages from the widget: uses sdk.actions.openUrl inside mini-apps, falls back to window.open otherwise
  • verifyHumanity reads bringid_signature and bringid_message from the current page's URL query string and forwards them as verificationSignature / verificationMessage to the widget
  • Added @farcaster/miniapp-sdk as a dependency

0.5.2-beta

24 Feb 23:06
40b98e3

Choose a tag to compare

  • Removed staging configs

0.5.1-beta

23 Feb 21:23
c00ec57

Choose a tag to compare

  • Breaking: Registry ABI updated to V3 — verifyProof, verifyProofs, and getScore now take appId as the first parameter
  • Breaking: CredentialGroupProof struct renamed to CredentialProof in the registry ABI
  • TSemaphoreProof type now includes an optional chain_id field
  • verifyProofs now uses ethers.ZeroAddress as the default from address instead of the registry address
  • Fixed iframe URL query param to use window.location.origin instead of window.location.href
  • Fixed iframe display: block to prevent inline rendering issues
  • Removed unused internal helpers and utilities

0.4.3-beta

17 Feb 14:08
e62343c

Choose a tag to compare

  • Some minor UI fixes

0.4.2-beta

17 Feb 11:52
bad00a7

Choose a tag to compare

  • Cleaned up console logging: success logs no longer expose data, only confirm method completion
  • Added [BringID] prefix to all console messages for easier filtering
  • Added success logs for verifyHumanity, getAddressScore, and verifyProofs methods
  • Added error logging to all catch blocks (getAddressScore, fetchRegistryConfig, defineApiUrl)
  • Registry config data is still logged on successful fetch for debugging purposes

0.4.1-beta

16 Feb 23:00
bd30344

Choose a tag to compare

  • Fixed iframe url query parameter to use window.location.origin instead of window.location.href to avoid leaking path and query string to the widget

0.4.0-beta

13 Feb 13:51
12b6237

Choose a tag to compare

  • Breaking: BringID constructor now requires appIdnew BringID({ appId: "1" })
  • Breaking: verifyProofs result shape changed from points to score{ verified, score: { total, groups } } where groups contain score instead of points
  • Breaking: verifyProofs now requires a provider — removed off-chain API verification mode
  • Breaking: verifyHumanity replaced scope parameter with contract (0x address string) and context (number, defaults to 0)
  • Breaking: BringIDModal removed mode prop — mode and appId are now passed from SDK to widget automatically via postMessage
  • verifyProofs accepts optional context (number, defaults to 0) and contract (0x address string, defaults to registry address) parameters for on-chain scope verification
  • verifyProofs now calls registry verifyProofs and scorer getScores directly instead of using Multicall3
  • TSemaphoreProof type now includes app_id field
  • BringIDModal added customTitles prop for overriding widget UI titles (pointsTitle, pointsShortTitle, scoreTitle)
  • BringIDModal iframe sandbox updated to include allow-popups-to-escape-sandbox and allow-modals
  • Added SCORER_ABI with getScore and getScores methods
  • Updated REGISTRY_ABI with verifyProofs, getScore, and apps methods
  • Added setMode, setAppId, getAppId methods to BringID class
  • Simplified internal request handling from map-based to single pending request
  • Removed fetchTasksConfig utility and tasks config dependency
  • Removed generateId utility and requestId from message protocol

0.3.1-beta

09 Feb 10:45
a841d89

Choose a tag to compare

  • Added message property for verifyHumanity request

Merge pull request #15 from BringID/0.3.0-beta

03 Feb 15:03
8e69095

Choose a tag to compare

  • Breaking: verifyProofs now returns { verified, points } instead of boolean
    • verified — boolean indicating if proofs are valid
    • points.total — total points across all credential groups
    • points.groups — array of { credential_group_id, points } for each proof
  • Removed unused type definitions