Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@square/web-payments-sdk-types

Package Overview
Dependencies
Maintainers
18
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@square/web-payments-sdk-types

Types for Square's Web Payments SDK

npmnpm
Version
1.78.1
Version published
Weekly downloads
16K
-11.78%
Maintainers
18
Weekly downloads
 
Created
Source

@square/web-payments-sdk-types

TypeScript type definitions for the Web Payments SDK.

The types defined in this package are documented in the Developer Reference for Web Payments SDK.

Usage

This package provides declaration files (d.ts). Once this package is added to the typeRoots as part of the tsconfig.json, initiating a payments instance using window.Square.payments will provide typechecking and autocompletion automatically. Developers can also import any type definition listed in the developer reference.

LICENSE

Copyright 2023 Block, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

FAQs

Package last updated on 02 Sep 2025

Did you know?

Socket

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.

Install

Related posts