npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wikialisa/swift-gateway

v1.1.0

Published

WIKIALISA SWIFT Gateway — OAuth2, GPI Tracker, Pre-Validation, BIC Directory, PKI, Java Bridge, EVM/TRON escrow and Audit Compliance

Downloads

400

Readme

@wikialisa/swift-gateway

WIKIALISA SWIFT Gateway — Bộ SDK đầy đủ cho tích hợp SWIFT Alliance: OAuth2, GPI Tracker, Pre-Validation, BIC Directory, PKI, Java Bridge, EVM/TRON escrow và Audit Compliance.

npm version license node


Cài đặt

npm install @wikialisa/swift-gateway
# hoặc
pnpm add @wikialisa/swift-gateway

Entry Points

Package xuất khẩu 6 entry points riêng biệt — import chính xác những gì cần:

| Entry | Mô tả | |---|---| | @wikialisa/swift-gateway | Barrel tổng hợp | | @wikialisa/swift-gateway/security | OAuth2, LAU Signing, PKI | | @wikialisa/swift-gateway/clients | GPI Tracker, Account Validation, BIC Directory | | @wikialisa/swift-gateway/bridge | Java Bridge, Config Manager | | @wikialisa/swift-gateway/blockchain | EVM / TRON provider | | @wikialisa/swift-gateway/audit | Audit Compliance Explorer |


Sử dụng

Security — OAuth2 & LAU

import { SwiftOAuthClient, LauHeaderSigner, PkiManager } from '@wikialisa/swift-gateway/security';

const oauth = new SwiftOAuthClient({
  clientId: process.env.SWIFT_CLIENT_ID!,
  clientSecret: process.env.SWIFT_CLIENT_SECRET!,
  tokenUrl: 'https://sandbox.swiftnet.sipn.swift.com/oauth2/v1/token',
});
const token = await oauth.getAccessToken();

const signer = new LauHeaderSigner({ secret: process.env.LAU_SECRET! });
const headers = signer.sign({ method: 'POST', path: '/v1/payments', body: '{}' });

Clients — GPI Tracker & BIC Lookup

import { GpiTrackerClient, BicDirectoryClient } from '@wikialisa/swift-gateway/clients';

const tracker = new GpiTrackerClient({ baseUrl: '...', accessToken: token.access_token });
const status = await tracker.getPaymentStatus('UETR-xxxx-xxxx-xxxx');

const bic = new BicDirectoryClient({ accessToken: token.access_token });
const record = await bic.lookup('DEUTDEDB');

Bridge — Java JAR Utilities

import { JavaBridge } from '@wikialisa/swift-gateway/bridge';

const bridge = new JavaBridge({ jarPath: './swift-validator.jar' });
const result = await bridge.execute('com.swift.Validator', ['--input', 'pacs.008.xml']);

Blockchain — EVM Escrow

import { EvmProvider } from '@wikialisa/swift-gateway/blockchain';

const provider = new EvmProvider({ rpcUrl: 'https://mainnet.infura.io/v3/...' });

Audit — Compliance Explorer

import { AuditComplianceExplorer } from '@wikialisa/swift-gateway/audit';

const explorer = new AuditComplianceExplorer();
const events = await explorer.query({ from: '2024-01-01', type: 'PAYMENT_SENT' });

Biến môi trường

SWIFT_CLIENT_ID=
SWIFT_CLIENT_SECRET=
SWIFT_TOKEN_URL=https://sandbox.swiftnet.sipn.swift.com/oauth2/v1/token
LAU_SECRET=
SWIFT_CERT_PATH=./certs/swift.crt
SWIFT_KEY_PATH=./certs/swift.key

Yêu cầu

  • Node.js >= 22
  • TypeScript >= 5.0

Giấy phép

BSL-1.1 — Copyright © 2024 AXQ Tech Holding JSC

Liên kết