Catalog npm
Back to packageRELEASE DETAILS

5.1.1-xrpl-beta.2

npm

@0xsquid/widget

A front end widget for using Squid

Published4 Jun 2025
Direct dependencies19
Transitive dependenciesNot calculated

README

Current package documentation

Squid Widget

Squid Widget is a cross-chain swap widget built with TypeScript & React. It is designed to be embedded into websites, providing an easy and convenient way to perform cross-chain swaps directly from the partner's website.

Tech Stack

Project Structure

├── src
│   ├── widget
│   │   ├── assets
│   │   ├── components
│   │   ├── connectors
│   │   ├── contracts
│   │   ├── core
│   │   ├── hooks
│   │   ├── services
│   │   ├── store
│   │   ├── views
│   └── index.tsx
├───index.ts
└───compiled-tailwind.css

External providers (Gnosis / Ledger)

For more informations about external providers, click here

Getting Started

Prerequisites

  • Node.js
  • Yarn

Installation

Install Yarn packages at the root folder

yarn

Development

The development server must be started from the nextjs package, which embeds the widget.

cd ../nextjs
yarn dev

Building

The build command must be run from the root folder as this is a lerna monorepo.

cd ../..
yarn build

Please note that TailwindCSS has to be built manually as it's embedded in the build. Therefore, sometimes you may have to run yarn build.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 19

Native requirements
19 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
clsx
Environment
{
  "local_name": "clsx",
  "alias": false,
  "peer_metadata": null
}
2.1.1runtime
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
1.7.2runtime
qr.js
Environment
{
  "local_name": "qr.js",
  "alias": false,
  "peer_metadata": null
}
0.0.0runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
6.8.1runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
4.17.21runtime
fuse.js
Environment
{
  "local_name": "fuse.js",
  "alias": false,
  "peer_metadata": null
}
6.6.2runtime
zustand
Environment
{
  "local_name": "zustand",
  "alias": false,
  "peer_metadata": null
}
4.5.4runtime
@0xsquid/ui
Environment
{
  "local_name": "@0xsquid/ui",
  "alias": false,
  "peer_metadata": null
}
2.8.2-xrpl-beta.0runtime
@wagmi/core
Environment
{
  "local_name": "@wagmi/core",
  "alias": false,
  "peer_metadata": null
}
2.13.8runtime
react-window
Environment
{
  "local_name": "react-window",
  "alias": false,
  "peer_metadata": null
}
^1.8.10runtime
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.202runtime
@solana/web3.js
Environment
{
  "local_name": "@solana/web3.js",
  "alias": false,
  "peer_metadata": null
}
^1.95.4runtime
react-device-detect
Environment
{
  "local_name": "react-device-detect",
  "alias": false,
  "peer_metadata": null
}
2.2.3runtime
@0xsquid/react-hooks
Environment
{
  "local_name": "@0xsquid/react-hooks",
  "alias": false,
  "peer_metadata": null
}
7.1.1-xrpl-beta.2runtime
@0xsquid/squid-types
Environment
{
  "local_name": "@0xsquid/squid-types",
  "alias": false,
  "peer_metadata": null
}
0.1.152runtime
@tanstack/react-query
Environment
{
  "local_name": "@tanstack/react-query",
  "alias": false,
  "peer_metadata": null
}
4.36.1runtime
@solana/wallet-adapter-phantom
Environment
{
  "local_name": "@solana/wallet-adapter-phantom",
  "alias": false,
  "peer_metadata": null
}
^0.9.24runtime
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^16.0.0 || ^17.0.0 || ^18.0.0peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^16.0.0 || ^17.0.0 || ^18.0.0peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b3a6746b1d090dcfd904d8c601fa1cc5cf621457",
  "tarball": "https://registry.npmjs.org/@0xsquid/widget/-/widget-5.1.1-xrpl-beta.2.tgz",
  "fileCount": 474,
  "integrity": "sha512-Ut8e3ePHS/X/tt3emeTDNZ9jb/vTS3ZbdBWdmQV+Rj6kvC1eriUjLCO5Nmr3CX+9EvMDlzeJ0iPt6cwPN39jHQ==",
  "signatures": [
    {
      "sig": "MEUCIQD5PIKVAcNG0triXBHwvNTNm70l40bNo8oJPM8Oku4o7QIgHZrzZHBPILOPwb+zy74CXVGH57Sy6RB52JzY2Prab4Y=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 2131702
}

Repository

PENDING
0xsquid/squid-widget

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xsquid/api-widget

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:54 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:fc186e10bbc3f480f35125542e4e4fd4b4fcc2c275dad6068b2a02be64e031dc

Other collected versions

7.0.019 Oct6.13.1-beta-nodev24.06 Oct6.17.029 Sept6.13.1-beta-bump-deps.024 Sept6.16.015 Sept6.15.09 SeptView all collected versions →