New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@airwallex/components-sdk

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@airwallex/components-sdk - npm Package Compare versions

Comparing version 1.2.19 to 1.2.20

8

lib/index.d.ts

@@ -224,3 +224,3 @@ declare enum ENV {

type Env = keyof typeof ENV;
type ElementOptionsTypesMapping = {
type ElementOptionsTypes = {
kyc: ElementOptions$2;

@@ -230,3 +230,3 @@ paymentsKyb: ElementOptions$1;

};
type ElementTypesMapping = {
type ElementTypes = {
kyc: Element$3;

@@ -279,3 +279,3 @@ paymentsKyb: Element$2;

*/
type CreateElement = <T extends keyof ElementOptionsTypesMapping, K extends ElementOptionsTypesMapping[T]>(type: T, options: K) => Promise<ElementTypesMapping[T]>;
type CreateElement = <T extends keyof ElementOptionsTypes, K extends ElementOptionsTypes[T]>(type: T, options: K) => Promise<ElementTypes[T]>;
/**

@@ -344,2 +344,2 @@ * Event code supported value by element when user interact with the element

export { CreateElement, Element, Env, Options as SDKOptions, createElement, init };
export { CreateElement, Element, ElementOptionsTypes, ElementTypes, Env, Options as SDKOptions, createElement, init };
{
"name": "@airwallex/components-sdk",
"version": "1.2.19",
"version": "1.2.20",
"main": "./lib/index.js",

@@ -16,3 +16,3 @@ "module": "./lib/index.mjs",

"clean": "rm -rf dist",
"clean-npm": "rm -rf build-npm",
"clean-npm": "rm -rf lib",
"dev": "yarn clean & tsup --env.NODE_ENV development --watch --config tsup.config.ts",

@@ -19,0 +19,0 @@ "lint": "eslint \"src/**/*.ts*\"",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc